3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pybcrypt: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 22:16:58 -04:00 committed by Frederik Rietdijk
parent 3f830d85c6
commit c1d9373034
2 changed files with 22 additions and 15 deletions

View file

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pybcrypt";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "5fa13bce551468350d66c4883694850570f3da28d6866bb638ba44fe5eabda78";
};
meta = with stdenv.lib; {
description = "bcrypt password hashing and key derivation";
homepage = https://code.google.com/p/py-bcrypt2;
license = licenses.bsd0;
};
}

View file

@ -3275,21 +3275,7 @@ in {
pyblock = callPackage ../development/python-modules/pyblock { };
pybcrypt = buildPythonPackage rec {
pname = "pybcrypt";
version = "0.4";
src = pkgs.fetchurl {
url = "mirror://pypi/p/py-bcrypt/py-bcrypt-${version}.tar.gz";
sha256 = "5fa13bce551468350d66c4883694850570f3da28d6866bb638ba44fe5eabda78";
};
meta = {
description = "bcrypt password hashing and key derivation";
homepage = https://code.google.com/p/py-bcrypt2;
license = "BSD";
};
};
pybcrypt = callPackage ../development/python-modules/pybcrypt { };
pyblosxom = buildPythonPackage rec {
name = "pyblosxom-${version}";