at 24.11-pre 710 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 aenum, 6 pythonOlder, 7 python, 8}: 9 10buildPythonPackage rec { 11 pname = "dbf"; 12 version = "0.99.9"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-MFEi1U0RNvrfDtV4HpvPgKTCibAh76z7Gnmj32IubYw="; 20 }; 21 22 propagatedBuildInputs = [ aenum ]; 23 24 checkPhase = '' 25 ${python.interpreter} -m dbf.test 26 ''; 27 28 pythonImportsCheck = [ "dbf" ]; 29 30 meta = with lib; { 31 description = "Module for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files"; 32 homepage = "https://github.com/ethanfurman/dbf"; 33 license = licenses.bsd2; 34 maintainers = with maintainers; [ vrthra ]; 35 }; 36}