pythonPackages.safe: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 11:47:30 -04:00
committed by Frederik Rietdijk
parent 1786765934
commit 1f472f4a36
2 changed files with 25 additions and 16 deletions

View File

@@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "0.4";
pname = "Safe";
src = fetchPypi {
inherit pname version;
sha256 = "a2fdac9fe8a9dcf02b438201d6ce0b7be78f85dc6492d03edfb89be2adf489de";
};
buildInputs = [ nose ];
meta = with stdenv.lib; {
homepage = "https://github.com/lepture/safe";
license = licenses.bsd3;
description = "Check password strength";
};
}