diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyramid/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyramid/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyramid/default.nix b/nixpkgs/pkgs/development/python-modules/pyramid/default.nix new file mode 100644 index 000000000000..51c6f28564fb --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pyramid/default.nix @@ -0,0 +1,46 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, docutils +, virtualenv +, webtest +, zope_component +, hupper +, PasteDeploy +, plaster +, plaster-pastedeploy +, repoze_lru +, repoze_sphinx_autointerface +, translationstring +, venusian +, webob +, zope_deprecation +, zope_interface +, isPy35 +}: + +buildPythonPackage rec { + pname = "pyramid"; + version = "1.10.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "e70a9bac805284ebe7123fdd412e22a4c1d214603b3a074ac8f1185a0dd7c63e"; + }; + + checkInputs = [ docutils virtualenv webtest zope_component ]; + + propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru repoze_sphinx_autointerface translationstring venusian webob zope_deprecation zope_interface ]; + + # Failing tests + # https://github.com/Pylons/pyramid/issues/1899 + doCheck = !isPy35; + + meta = with stdenv.lib; { + description = "The Pyramid Web Framework, a Pylons project"; + homepage = https://trypyramid.com/; + license = licenses.bsd0; + maintainers = with maintainers; [ garbas domenkozar ]; + }; + +} |