pythonPackages.cornice: 1.2.1 -> 3.4.1

This commit is contained in:
Chris Ostrouchov 2018-10-15 12:10:43 -04:00 committed by Frederik Rietdijk
parent 0f4383eae5
commit d572503c7a
2 changed files with 32 additions and 13 deletions

View File

@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pyramid
, simplejson
, six
, venusian
}:
buildPythonPackage rec {
pname = "cornice";
version = "3.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "a7f8db903ba06c2584c7db4474459de3565d90b5e4ae4b97c687840e11d5b7fd";
};
propagatedBuildInputs = [ pyramid simplejson six venusian ];
# tests not packaged with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/mozilla-services/cornice;
description = "Build Web Services with Pyramid";
license = licenses.mpl20;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1098,19 +1098,7 @@ in {
constantly = callPackage ../development/python-modules/constantly { };
cornice = buildPythonPackage rec {
name = "cornice-${version}";
version = "1.2.1";
src = pkgs.fetchgit {
url = https://github.com/mozilla-services/cornice.git;
rev = "refs/tags/${version}";
sha256 = "0688vrkl324jmpi8jkjh1s8nsyjinw149g3x8qlis8vz6j6a01wv";
};
propagatedBuildInputs = with self; [ pyramid simplejson ];
doCheck = false; # lazy packager
};
cornice = callPackage ../development/python-modules/cornice { };
cram = callPackage ../development/python-modules/cram { };