3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.msgpack-python: 0.4.7 -> 0.5.4

and refactored to reuse the nix expression of
pythonPackages.msgpack
This commit is contained in:
Eric Wolf 2018-02-10 14:21:29 +01:00
parent b020aef13a
commit 41937749ce

View file

@ -10553,21 +10553,11 @@ in {
msgpack = callPackage ../development/python-modules/msgpack {};
msgpack-python = buildPythonPackage rec {
name = "msgpack-python-${version}";
version = "0.4.7";
src = pkgs.fetchurl {
url = "mirror://pypi/m/msgpack-python/${name}.tar.gz";
sha256 = "0syd7bs83qs9qmxw540jbgsildbqk4yb57fmrlns1021llli402y";
};
checkPhase = ''
py.test
msgpack-python = self.msgpack.overridePythonAttrs {
pname = "msgpack-python";
postPatch = ''
substituteInPlace setup.py --replace "TRANSITIONAL = False" "TRANSITIONAL = True"
'';
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ ];
};
msrplib = buildPythonPackage rec {