aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/cryptacular
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-10-05 12:43:18 +0000
committerKatharina Fey <kookie@spacekookie.de>2019-10-05 12:44:52 +0000
commitcf85056ba64caf3267d43255ef4a1243e9c8ee3b (patch)
tree3051519e9c8275b870aac43f80af875715c9d124 /nixpkgs/pkgs/development/python-modules/cryptacular
parent1148b1d122bc03e9a3665856c9b7bb96bd4e3994 (diff)
parent2436c27541b2f52deea3a4c1691216a02152e729 (diff)
Add 'nixpkgs/' from commit '2436c27541b2f52deea3a4c1691216a02152e729'
git-subtree-dir: nixpkgs git-subtree-mainline: 1148b1d122bc03e9a3665856c9b7bb96bd4e3994 git-subtree-split: 2436c27541b2f52deea3a4c1691216a02152e729
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cryptacular')
-rw-r--r--nixpkgs/pkgs/development/python-modules/cryptacular/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cryptacular/default.nix b/nixpkgs/pkgs/development/python-modules/cryptacular/default.nix
new file mode 100644
index 00000000000..02c1c420bfd
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/cryptacular/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
+, coverage, nose, pbkdf2 }:
+
+buildPythonPackage rec {
+ pname = "cryptacular";
+ version = "1.4.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "18fl7phl6r9xiwz8f1jpkahkv21wimmiq72gmrqncccv7z806gr7";
+ };
+
+ buildInputs = [ coverage nose ];
+ propagatedBuildInputs = [ pbkdf2 ];
+
+ # TODO: tests fail: TypeError: object of type 'NoneType' has no len()
+ doCheck = false;
+
+ # Python >=2.7.15, >=3.6.5 are incompatible:
+ # https://bitbucket.org/dholth/cryptacular/issues/11
+ disabled = isPy27 || pythonAtLeast "3.6";
+
+ meta = with stdenv.lib; {
+ maintainers = with maintainers; [ domenkozar ];
+ };
+}