pythonPackages.safe: refactor move to python-modules
This commit is contained in:
parent
1786765934
commit
1f472f4a36
24
pkgs/development/python-modules/safe/default.nix
Normal file
24
pkgs/development/python-modules/safe/default.nix
Normal 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";
|
||||
};
|
||||
|
||||
}
|
@ -2145,22 +2145,7 @@ in {
|
||||
|
||||
joblib = callPackage ../development/python-modules/joblib { };
|
||||
|
||||
safe = buildPythonPackage rec {
|
||||
version = "0.4";
|
||||
name = "Safe-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/S/Safe/${name}.tar.gz";
|
||||
sha256 = "a2fdac9fe8a9dcf02b438201d6ce0b7be78f85dc6492d03edfb89be2adf489de";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
meta = {
|
||||
homepage = "https://github.com/lepture/safe";
|
||||
license = licenses.bsd3;
|
||||
description = "Check password strength";
|
||||
};
|
||||
};
|
||||
safe = callPackage ../development/python-modules/safe { };
|
||||
|
||||
samplerate = buildPythonPackage rec {
|
||||
name = "scikits.samplerate-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user