diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-16 11:03:28 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:58 +0200 |
commit | eea723b3ec697bb9400b18baf31e876e1279b591 (patch) | |
tree | ecaf34b0200bfb79dc66261342e3700d420fa098 /pkgs/development/python-modules/pyramid | |
parent | e6d98dc92ab2b3622576c472dc2822e5ed39bc88 (diff) |
pythonPackages.pyramid: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/pyramid')
-rw-r--r-- | pkgs/development/python-modules/pyramid/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyramid/default.nix b/pkgs/development/python-modules/pyramid/default.nix new file mode 100644 index 0000000000000..060b6b77f870a --- /dev/null +++ b/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.9.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0dhbzc4q0vsnv3aihy728aczg56xs6h9s1rmvr096q4lb6yln3w4"; + }; + + 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 ]; + }; + +} |