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;
};
}