pythonPackages.msgpack-python: 0.4.7 -> 0.5.4
and refactored to reuse the nix expression of pythonPackages.msgpack
This commit is contained in:
parent
b020aef13a
commit
41937749ce
@ -10553,21 +10553,11 @@ in {
|
|||||||
|
|
||||||
msgpack = callPackage ../development/python-modules/msgpack {};
|
msgpack = callPackage ../development/python-modules/msgpack {};
|
||||||
|
|
||||||
msgpack-python = buildPythonPackage rec {
|
msgpack-python = self.msgpack.overridePythonAttrs {
|
||||||
name = "msgpack-python-${version}";
|
pname = "msgpack-python";
|
||||||
version = "0.4.7";
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "TRANSITIONAL = False" "TRANSITIONAL = True"
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/m/msgpack-python/${name}.tar.gz";
|
|
||||||
sha256 = "0syd7bs83qs9qmxw540jbgsildbqk4yb57fmrlns1021llli402y";
|
|
||||||
};
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
propagatedBuildInputs = with self; [ ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
msrplib = buildPythonPackage rec {
|
msrplib = buildPythonPackage rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user