Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 31 lines 630 B view raw
1{ buildPythonPackage 2, lib 3, fetchPypi 4, glibcLocales 5, python 6}: 7 8buildPythonPackage rec { 9 pname = "u-msgpack-python"; 10 version = "2.5.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "6c02a0654a5e11f8fad532ed634109ed49cdc929f7b972848773e4e0ce52f30c"; 15 }; 16 17 LC_ALL="en_US.UTF-8"; 18 19 buildInputs = [ glibcLocales ]; 20 21 checkPhase = '' 22 ${python.interpreter} -m unittest discover 23 ''; 24 25 meta = { 26 description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python"; 27 homepage = https://github.com/vsergeev/u-msgpack-python; 28 license = lib.licenses.mit; 29 }; 30 31}