nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildPythonPackage
2, fetchPypi
3, nose
4, bcrypt
5, argon2_cffi
6}:
7
8buildPythonPackage rec {
9 pname = "passlib";
10 version = "1.7.4";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04";
15 };
16
17 checkInputs = [ nose ];
18 propagatedBuildInputs = [ bcrypt argon2_cffi ];
19
20 meta = {
21 description = "A password hashing library for Python";
22 homepage = "https://code.google.com/p/passlib/";
23 };
24}