Merge pull request #115333 from KAction/python-pure-cdb

python3Packages.pure-cdb: init at 3.1.1
This commit is contained in:
Sandro 2021-03-08 12:41:57 +01:00 committed by GitHub
commit 7e67f99d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, flake8 }:
buildPythonPackage rec {
pname = "pure-cdb";
version = "3.1.1";
disabled = pythonOlder "3.4";
# Archive on pypi has no tests.
src = fetchFromGitHub {
owner = "bbayles";
repo = "python-pure-cdb";
rev = "v${version}";
hash = "sha256-/FAe4NkY5unt83BOnJ3QqBJFQCPdQnbMVl1fSZ511Fc=";
};
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 ];
};
}

View File

@ -5255,6 +5255,8 @@ in {
pulsectl = callPackage ../development/python-modules/pulsectl { };
pure-cdb = callPackage ../development/python-modules/pure-cdb { };
pure-eval = callPackage ../development/python-modules/pure-eval { };
pure-pcapy3 = callPackage ../development/python-modules/pure-pcapy3 { };