mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
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-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 {
|
||||
|
Loading…
Reference in New Issue
Block a user