Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, zope_interface 5, webob 6}: 7 8buildPythonPackage rec { 9 pname = "repoze.who"; 10 version = "3.0.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-6VWt8AwfCwxxXoKJeaI37Ev37nCCe9l/Xhe/gnYNyzA="; 15 }; 16 17 propagatedBuildInputs = [ zope_interface webob ]; 18 19 # skip failing test 20 # OSError: [Errno 22] Invalid argument 21 preCheck = '' 22 rm repoze/who/plugins/tests/test_htpasswd.py 23 ''; 24 25 meta = with lib; { 26 description = "WSGI Authentication Middleware / API"; 27 homepage = "http://www.repoze.org"; 28 changelog = "https://github.com/repoze/repoze.who/blob/${version}/CHANGES.rst"; 29 license = licenses.bsd0; 30 maintainers = with maintainers; [ ]; 31 }; 32}