Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, lib 3, fetchPypi 4, glibcLocales 5, unittestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "u-msgpack-python"; 10 version = "2.7.2"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-6G96xqoO9MbEnwBLT9Q1vOmcI+LdXXMAPz+YFgJMK9g="; 15 }; 16 17 LC_ALL="en_US.UTF-8"; 18 19 buildInputs = [ glibcLocales ]; 20 21 nativeCheckInputs = [ unittestCheckHook ]; 22 23 meta = { 24 description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python"; 25 homepage = "https://github.com/vsergeev/u-msgpack-python"; 26 license = lib.licenses.mit; 27 }; 28 29}