1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/development/python-modules/passlib/default.nix

27 lines
518 B
Nix
Raw Normal View History

2017-09-06 17:04:56 +01:00
{ lib
, buildPythonPackage
, 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";
2017-09-06 17:09:45 +01:00
version = "1.7.1";
2017-09-06 17:04:56 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-09-06 17:09:45 +01:00
sha256 = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0";
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
}