about summary refs log tree commit diff
path: root/pkgs/development/python-modules/xkcdpass/default.nix
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-29 15:03:54 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-30 00:51:19 -0400
commit82878eaade2cb9f4c6979b51edbf82a6b46c3731 (patch)
tree6c14e73ad10783393b19f7d34290ceccc9c5ae1e /pkgs/development/python-modules/xkcdpass/default.nix
parenta80b2e35432cd1ee798fc9e02a18fda62b01d270 (diff)
downloadnixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.tar
nixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.tar.gz
nixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.tar.bz2
nixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.tar.lz
nixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.tar.xz
nixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.tar.zst
nixlib-82878eaade2cb9f4c6979b51edbf82a6b46c3731.zip
pythonPackages.xkcdpass: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/xkcdpass/default.nix')
-rw-r--r--pkgs/development/python-modules/xkcdpass/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/xkcdpass/default.nix b/pkgs/development/python-modules/xkcdpass/default.nix
new file mode 100644
index 000000000000..d191ab859282
--- /dev/null
+++ b/pkgs/development/python-modules/xkcdpass/default.nix
@@ -0,0 +1,25 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+}:
+
+buildPythonPackage rec {
+  pname = "xkcdpass";
+  version = "1.4.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "4c1f8bee886820c42ccc64c15c3a2275dc6d01028cf6af7c481ded87267d8269";
+  };
+
+  # No tests included
+  # https://github.com/redacted/XKCD-password-generator/issues/32
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://pypi.python.org/pypi/xkcdpass/;
+    description = "Generate secure multiword passwords/passphrases, inspired by XKCD";
+    license = licenses.bsd3;
+  };
+
+}