Created
April 15, 2014 18:24
-
-
Save vandenoever/10755889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, python3, libmsgpack, setuptools }: | |
let | |
version = "0.4.2"; | |
in | |
stdenv.mkDerivation rec { | |
name = "msgpack-python-${version}"; | |
src = fetchurl { | |
url = "https://pypi.python.org/packages/source/m/msgpack-python/msgpack-python-${version}.tar.gz"; | |
sha256 = "0476e8fdd79e5b648b349bd0edebf06e41271ee29421ef7adb12cdbe55dac2a9"; | |
}; | |
installPhase = '' | |
python3 setup.py install --prefix=$out | |
''; | |
buildInputs = [ python3 libmsgpack setuptools ]; | |
meta = { | |
description = "MessagePack <http://msgpack.org/> is a fast, compact binary serialization format, suitable for similar data to JSON. This package provides CPython bindings for reading and writing MessagePack data"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment