depot/third_party/nixpkgs/pkgs/development/python-modules/repoze_who/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

32 lines
726 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, zope_interface
, webob
}:
buildPythonPackage rec {
pname = "repoze.who";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-6VWt8AwfCwxxXoKJeaI37Ev37nCCe9l/Xhe/gnYNyzA=";
};
propagatedBuildInputs = [ zope_interface webob ];
# skip failing test
# OSError: [Errno 22] Invalid argument
preCheck = ''
rm repoze/who/plugins/tests/test_htpasswd.py
'';
meta = with lib; {
description = "WSGI Authentication Middleware / API";
homepage = "http://www.repoze.org";
changelog = "https://github.com/repoze/repoze.who/blob/${version}/CHANGES.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};
}