git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #115333 from KAction/python-pure-cdb

python3Packages.pure-cdb: init at 3.1.1

commit7e67f99d53e35065b2c5bfa81617e34c34e48a85 authorSandro <sandro.jaeckel@gmail.com> dateMon 8 Mar 2021, 12:41 (6 years ago) parent301f4aa8597fe2
2 files changed+28
pkgs/development/python-modules/pure-cdb/default.nix+26 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/pure-cdb/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, flake8 }:
2+
3+buildPythonPackage rec {
4+ pname = "pure-cdb";
5+ version = "3.1.1";
6+ disabled = pythonOlder "3.4";
7+
8+ # Archive on pypi has no tests.
9+ src = fetchFromGitHub {
10+ owner = "bbayles";
11+ repo = "python-pure-cdb";
12+ rev = "v${version}";
13+ hash = "sha256-/FAe4NkY5unt83BOnJ3QqBJFQCPdQnbMVl1fSZ511Fc=";
14+ };
15+
16+ checkInputs = [ flake8 ];
17+
18+ pythonImportsCheck = [ "cdblib" ];
19+
20+ meta = with lib; {
21+ description = "Python library for working with constant databases";
22+ homepage = "https://python-pure-cdb.readthedocs.io/en/latest";
23+ license = licenses.mit;
24+ maintainers = with maintainers; [ kaction ];
25+ };
26+}
pkgs/top-level/python-packages.nix+2
@@ -5255,6 +5255,8 @@ in {
52555255
52565256 pulsectl = callPackage ../development/python-modules/pulsectl { };
52575257
5258+ pure-cdb = callPackage ../development/python-modules/pure-cdb { };
5259+
52585260 pure-eval = callPackage ../development/python-modules/pure-eval { };
52595261
52605262 pure-pcapy3 = callPackage ../development/python-modules/pure-pcapy3 { };