b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
26 lines
700 B
Nix
26 lines
700 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, flake8 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pure-cdb";
|
|
version = "4.0.0";
|
|
disabled = pythonOlder "3.4";
|
|
|
|
# Archive on pypi has no tests.
|
|
src = fetchFromGitHub {
|
|
owner = "bbayles";
|
|
repo = "python-pure-cdb";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-7zxQO+oTZJhXfM2yijGXchLixiQRuFTOSESVlEc+T0s=";
|
|
};
|
|
|
|
checkInputs = [ flake8 ];
|
|
|
|
pythonImportsCheck = [ "cdblib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for working with constant databases";
|
|
homepage = "https://python-pure-cdb.readthedocs.io/en/latest";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kaction ];
|
|
};
|
|
}
|