10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-MFEi1U0RNvrfDtV4HpvPgKTCibAh76z7Gnmj32IubYw=";
22 # Workaround for https://github.com/ethanfurman/dbf/issues/48
23 patches = lib.optional python.stdenv.hostPlatform.isDarwin ./darwin.patch;
25 propagatedBuildInputs = [ aenum ];
29 ${python.interpreter} -m dbf.test
33 pythonImportsCheck = [ "dbf" ];
36 description = "Module for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files";
37 homepage = "https://github.com/ethanfurman/dbf";
38 license = licenses.bsd2;