Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 491 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, bcrypt 6}: 7 8buildPythonPackage rec { 9 pname = "passlib"; 10 version = "1.7.1"; 11 name = "${pname}-${version}"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0"; 16 }; 17 18 checkInputs = [ nose ]; 19 propagatedBuildInputs = [ bcrypt ]; 20 21 meta = { 22 description = "A password hashing library for Python"; 23 homepage = https://code.google.com/p/passlib/; 24 }; 25}