From c0b77d99028733f819e2abacf7aaca85af207743 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 1 May 2017 09:53:11 +0200 Subject: [PATCH] pythonPackages.zxcvbn-python: init at 4.4.14 --- .../python-modules/zxcvbn-python/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/zxcvbn-python/default.nix diff --git a/pkgs/development/python-modules/zxcvbn-python/default.nix b/pkgs/development/python-modules/zxcvbn-python/default.nix new file mode 100644 index 000000000000..65d343cbec94 --- /dev/null +++ b/pkgs/development/python-modules/zxcvbn-python/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "zxcvbn-python"; + version = "4.4.14"; + + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "fd3a46536035851571e3f4142b64d6e7bcf0ade3cd40d8fecae7a1243945e327"; + }; + + # No tests in archive + doCheck = false; + + meta = { + description = "Python implementation of Dropbox's realistic password strength estimator, zxcvbn"; + homepage = https://github.com/dwolfhub/zxcvbn-python; + license = with lib.licenses; [ mit ]; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7a014a7fb548..9b70b5d7095f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -32024,6 +32024,8 @@ EOF }; }; + zxcvbn-python = callPackage ../development/python-modules/zxcvbn-python { }; + incremental = callPackage ../development/python-modules/incremental { }; treq = callPackage ../development/python-modules/treq { };