nixpkgs/pkgs/development/python-modules/u-msgpack-python/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

30 lines
602 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, glibcLocales
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "u-msgpack-python";
version = "2.7.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-6G96xqoO9MbEnwBLT9Q1vOmcI+LdXXMAPz+YFgJMK9g=";
};
LC_ALL="en_US.UTF-8";
buildInputs = [ glibcLocales ];
nativeCheckInputs = [ unittestCheckHook ];
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;
};
}