pythonPackages.mozsvc: refactor move to python-modules
This commit is contained in:
parent
4860875eaa
commit
99ec6e3c08
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, fetchurl
|
||||||
|
, pyramid
|
||||||
|
, simplejson
|
||||||
|
, konfig
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mozsvc";
|
||||||
|
version = "0.8";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = https://github.com/mozilla-services/mozservices.git;
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
sha256 = "1zci2ikk83mf7va88c83dr6snfh4ddjqw0lsg3y29qk5nxf80vx2";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = stdenv.lib.singleton (fetchurl {
|
||||||
|
url = https://github.com/nbp/mozservices/commit/f86c0b0b870cd8f80ce90accde9e16ecb2e88863.diff;
|
||||||
|
sha256 = "1lnghx821f6dqp3pa382ka07cncdz7hq0mkrh44d0q3grvrlrp9n";
|
||||||
|
});
|
||||||
|
|
||||||
|
doCheck = false; # lazy packager
|
||||||
|
propagatedBuildInputs = [ pyramid simplejson konfig ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/mozilla-services/mozservices;
|
||||||
|
description = "Various utilities for Mozilla apps";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -2820,29 +2820,7 @@ in {
|
||||||
|
|
||||||
mox = callPackage ../development/python-modules/mox { };
|
mox = callPackage ../development/python-modules/mox { };
|
||||||
|
|
||||||
mozsvc = buildPythonPackage rec {
|
mozsvc = callPackage ../development/python-modules/mozsvc { };
|
||||||
name = "mozsvc-${version}";
|
|
||||||
version = "0.8";
|
|
||||||
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = https://github.com/mozilla-services/mozservices.git;
|
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
sha256 = "1zci2ikk83mf7va88c83dr6snfh4ddjqw0lsg3y29qk5nxf80vx2";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = singleton (pkgs.fetchurl {
|
|
||||||
url = https://github.com/nbp/mozservices/commit/f86c0b0b870cd8f80ce90accde9e16ecb2e88863.diff;
|
|
||||||
sha256 = "1lnghx821f6dqp3pa382ka07cncdz7hq0mkrh44d0q3grvrlrp9n";
|
|
||||||
});
|
|
||||||
|
|
||||||
doCheck = false; # lazy packager
|
|
||||||
propagatedBuildInputs = with self; [ pyramid simplejson konfig ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/mozilla-services/mozservices;
|
|
||||||
description = "Various utilities for Mozilla apps";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mpmath = buildPythonPackage rec {
|
mpmath = buildPythonPackage rec {
|
||||||
name = "mpmath-0.19";
|
name = "mpmath-0.19";
|
||||||
|
|
Loading…
Reference in New Issue