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";
|
2019-12-10 18:07:40 +00:00
|
|
|
version = "1.7.2";
|
2017-09-06 17:04:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 18:07:40 +00:00
|
|
|
sha256 = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8";
|
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";
|
|
|
|
homepage = https://code.google.com/p/passlib/;
|
|
|
|
};
|
2017-12-04 14:09:21 +00:00
|
|
|
}
|