nixpkgs/pkgs/development/python-modules/paste/default.nix

35 lines
648 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, six
2018-12-02 22:45:42 +01:00
, pytestrunner
, pytest
}:
buildPythonPackage rec {
pname = "paste";
2019-10-18 00:51:05 +02:00
version = "3.2.2";
src = fetchPypi {
2018-12-02 22:45:42 +01:00
pname = "Paste";
inherit version;
2019-10-18 00:51:05 +02:00
sha256 = "15p95br9x7zjy0cckdy6xmhfg61cg49rhi75jd00svrnz234s7qb";
};
propagatedBuildInputs = [ six ];
2018-12-02 22:45:42 +01:00
checkInputs = [ pytestrunner pytest ];
# Certain tests require network
checkPhase = ''
2018-12-02 22:45:42 +01:00
py.test -k "not test_cgiapp and not test_proxy"
'';
meta = with stdenv.lib; {
description = "Tools for using a Web Server Gateway Interface stack";
homepage = "http://pythonpaste.org/";
license = licenses.mit;
};
}