2018-07-21 01:44:44 +01:00
|
|
|
{ buildPythonPackage
|
2017-09-06 17:04:56 +01:00
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, bcrypt
|
2017-12-04 14:09:21 +00:00
|
|
|
, argon2_cffi
|
2017-09-06 17:04:56 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "passlib";
|
2020-10-25 09:06:54 +00:00
|
|
|
version = "1.7.4";
|
2017-09-06 17:04:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:54 +00:00
|
|
|
sha256 = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04";
|
2017-09-06 17:04:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
2017-12-04 14:09:21 +00:00
|
|
|
propagatedBuildInputs = [ bcrypt argon2_cffi ];
|
2017-09-06 17:04:56 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A password hashing library for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://code.google.com/p/passlib/";
|
2017-09-06 17:04:56 +01:00
|
|
|
};
|
2017-12-04 14:09:21 +00:00
|
|
|
}
|