pyramid: 1.7 -> 1.9.1

This commit is contained in:
makefu 2017-09-25 13:39:07 +02:00
parent d00ba8091f
commit dcc36a4a04
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
4 changed files with 77 additions and 4 deletions

View file

@ -0,0 +1,20 @@
{ buildPythonPackage, fetchPypi, python
, pytest, pytestcov, watchdog, mock
}:
buildPythonPackage rec {
pname = "hupper";
version = "1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "02lj6kgaf9xpr0binxwac3gpdhljglyj9fr78s165jc7qd7mifdg";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest pytestcov watchdog mock ];
}

View file

@ -0,0 +1,22 @@
{ buildPythonPackage, fetchPypi, python
, plaster, PasteDeploy
, pytest, pytestcov
}:
buildPythonPackage rec {
pname = "plaster_pastedeploy";
version = "0.4.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1lrbkya5birfmg9gnfcnsa9id28klmjcqbm33rcg69pv9sfld4jv";
};
checkPhase = ''
py.test
'';
propagatedBuildInputs = [ plaster PasteDeploy ];
checkInputs = [ pytest pytestcov ];
}

View file

@ -0,0 +1,20 @@
{ buildPythonPackage, fetchPypi, python
, pytest, pytestcov
}:
buildPythonPackage rec {
pname = "plaster";
version = "0.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0z48pis4qyhyqj3ia82r04diaa153dw66wrpbly06hdzvhw8j0ia";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest pytestcov ];
}

View file

@ -6061,6 +6061,8 @@ in {
};
hupper = callPackage ../development/python-modules/hupper {};
hovercraft = buildPythonPackage rec {
disabled = ! isPy3k;
name = "hovercraft-${version}";
@ -7049,6 +7051,10 @@ in {
phpserialize = callPackage ../development/python-modules/phpserialize { };
plaster = callPackage ../development/python-modules/plaster {};
plaster-pastedeploy = callPackage ../development/python-modules/plaster-pastedeploy {};
plotly = callPackage ../development/python-modules/plotly { };
podcastparser = callPackage ../development/python-modules/podcastparser { };
@ -7327,11 +7333,13 @@ in {
};
pyramid = buildPythonPackage rec {
name = "pyramid-1.7";
pname = "pyramid";
version = "1.9.1";
name = "${pname}-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyramid/${name}.tar.gz";
sha256 = "161qacv7qqln3q02kcqll0q2mmaypm701hn1llwdwnkaywkb3xi6";
src = fetchPypi {
inherit pname version;
sha256 = "0dhbzc4q0vsnv3aihy728aczg56xs6h9s1rmvr096q4lb6yln3w4";
};
buildInputs = with self; [
@ -7340,6 +7348,9 @@ in {
webtest
zope_component
zope_interface
plaster
plaster-pastedeploy
hupper
] ++ optional isPy26 unittest2;
propagatedBuildInputs = with self; [