Skip to content

Commit

Permalink
pythonPackages.u-msgpack-python: init at 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Dec 25, 2016
1 parent 352e167 commit bec4794
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/u-msgpack-python/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ buildPythonPackage
, lib
, fetchurl
, glibcLocales
}:

let
pname = "u-msgpack-python";
version = "2.3.0";
in buildPythonPackage rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "d8df6bb0e2a838aa227c39cfd14aa147ab32b3df6871001874e9b9da9ce1760c";
};

LC_ALL="en_US.UTF-8";

buildInputs = [ glibcLocales ];

checkPhase = ''
python -m unittest discover
'';

meta = {
description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python";
homepage = https://github.com/vsergeev/u-msgpack-python;
license = lib.licenses.mit;
};

}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25867,6 +25867,8 @@ in {
};
};

u-msgpack-python = callPackage ../development/python-modules/u-msgpack-python { };

umalqurra = buildPythonPackage rec {
name = "umalqurra-${version}";
version = "0.2";
Expand Down

0 comments on commit bec4794

Please sign in to comment.