pythonPackages.pyramid: refactor move to python-modules
This commit is contained in:
parent
e6d98dc92a
commit
eea723b3ec
46
pkgs/development/python-modules/pyramid/default.nix
Normal file
46
pkgs/development/python-modules/pyramid/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2101,47 +2101,7 @@ in {
|
|||||||
|
|
||||||
pythonix = toPythonModule (callPackage ../development/python-modules/pythonix { });
|
pythonix = toPythonModule (callPackage ../development/python-modules/pythonix { });
|
||||||
|
|
||||||
pyramid = buildPythonPackage rec {
|
pyramid = callPackage ../development/python-modules/pyramid { };
|
||||||
pname = "pyramid";
|
|
||||||
version = "1.9.1";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "0dhbzc4q0vsnv3aihy728aczg56xs6h9s1rmvr096q4lb6yln3w4";
|
|
||||||
};
|
|
||||||
|
|
||||||
checkInputs = with self; [
|
|
||||||
docutils
|
|
||||||
virtualenv
|
|
||||||
webtest
|
|
||||||
zope_component
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
hupper
|
|
||||||
PasteDeploy
|
|
||||||
plaster
|
|
||||||
plaster-pastedeploy
|
|
||||||
repoze_lru
|
|
||||||
repoze_sphinx_autointerface
|
|
||||||
translationstring
|
|
||||||
venusian
|
|
||||||
webob
|
|
||||||
zope_deprecation
|
|
||||||
zope_interface
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = with maintainers; [ garbas domenkozar ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Failing tests
|
|
||||||
# https://github.com/Pylons/pyramid/issues/1899
|
|
||||||
doCheck = !isPy35;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
pyramid_beaker = callPackage ../development/python-modules/pyramid_beaker { };
|
pyramid_beaker = callPackage ../development/python-modules/pyramid_beaker { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user