From 55d380644139019c16a29cbac1a2ba77759eb76c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sun, 7 Apr 2013 01:02:14 +0200 Subject: [PATCH] Add python-rtmidi: A Python wrapper for the RtMidi C++ library written with Cython --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1a18f3cdb9c..1551b3ab886 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1002,6 +1002,27 @@ pythonPackages = python.modules // rec { }; + rtmidi = buildPythonPackage rec { + version = "0.3a"; + name = "rtmidi-${version}"; + + src = fetchurl { + url = "http://chrisarndt.de/projects/python-rtmidi/download/python-${name}.tar.bz2"; + sha256 = "0d2if633m3kbiricd5hgn1csccd8xab6lnab1bq9prdr9ks9i8h6"; + }; + + buildInputs = [ pkgs.alsaLib pkgs.jackaudio ]; + + meta = with stdenv.lib; { + description = "A Python wrapper for the RtMidi C++ library written with Cython"; + homepage = http://trac.chrisarndt.de/code/wiki/python-rtmidi; + license = licenses.mit; + maintainers = [ maintainers.goibhniu ]; + }; + }; + + + repoze_sphinx_autointerface = buildPythonPackage rec { name = "repoze.sphinx.autointerface-0.7.1";