at master 685 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 flake8, 6}: 7 8buildPythonPackage rec { 9 pname = "pure-cdb"; 10 version = "4.0.0"; 11 format = "setuptools"; 12 13 # Archive on pypi has no tests. 14 src = fetchFromGitHub { 15 owner = "bbayles"; 16 repo = "python-pure-cdb"; 17 tag = "v${version}"; 18 hash = "sha256-7zxQO+oTZJhXfM2yijGXchLixiQRuFTOSESVlEc+T0s="; 19 }; 20 21 nativeCheckInputs = [ flake8 ]; 22 23 pythonImportsCheck = [ "cdblib" ]; 24 25 meta = with lib; { 26 description = "Python library for working with constant databases"; 27 homepage = "https://python-pure-cdb.readthedocs.io/en/latest"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ kaction ]; 30 }; 31}