2017-09-06 18:04:56 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, bcrypt
|
2017-12-04 15:09:21 +01:00
|
|
|
, argon2_cffi
|
2017-09-06 18:04:56 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "passlib";
|
2017-09-06 18:09:45 +02:00
|
|
|
version = "1.7.1";
|
2017-09-06 18:04:56 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-06 18:09:45 +02:00
|
|
|
sha256 = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0";
|
2017-09-06 18:04:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
2017-12-04 15:09:21 +01:00
|
|
|
propagatedBuildInputs = [ bcrypt argon2_cffi ];
|
2017-09-06 18:04:56 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A password hashing library for Python";
|
|
|
|
homepage = https://code.google.com/p/passlib/;
|
|
|
|
};
|
2017-12-04 15:09:21 +01:00
|
|
|
}
|