1 { lib, fetchFromGitHub, buildPythonPackage, pythonOlder, flake8 }:
3 buildPythonPackage rec {
7 disabled = pythonOlder "3.4";
9 # Archive on pypi has no tests.
10 src = fetchFromGitHub {
12 repo = "python-pure-cdb";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-7zxQO+oTZJhXfM2yijGXchLixiQRuFTOSESVlEc+T0s=";
17 nativeCheckInputs = [ flake8 ];
19 pythonImportsCheck = [ "cdblib" ];
22 description = "Python library for working with constant databases";
23 homepage = "https://python-pure-cdb.readthedocs.io/en/latest";
24 license = licenses.mit;
25 maintainers = with maintainers; [ kaction ];