diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2013-04-05 01:24:36 +0200 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2013-04-05 01:25:34 +0200 |
commit | 742d198def859da2ba3d74fbc11134c89ab42e5a (patch) | |
tree | a93eb1ab6afd03188cc040fb0d89591f32e51e98 /pkgs/applications/audio/mid2key | |
parent | ecc136b172821fd25700bef8c7e73fcab0bdb926 (diff) | |
download | nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.tar nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.tar.gz nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.tar.bz2 nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.tar.lz nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.tar.xz nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.tar.zst nixpkgs-742d198def859da2ba3d74fbc11134c89ab42e5a.zip |
Add mid2key: a tool which maps midi notes to keystrokes
Diffstat (limited to 'pkgs/applications/audio/mid2key')
-rw-r--r-- | pkgs/applications/audio/mid2key/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mid2key/default.nix b/pkgs/applications/audio/mid2key/default.nix new file mode 100644 index 00000000000..1e163391a39 --- /dev/null +++ b/pkgs/applications/audio/mid2key/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, alsaLib, libX11, libXi, libXtst, xextproto }: + +stdenv.mkDerivation rec { + name = "mid2key-r1"; + + src = fetchurl { + url = "http://mid2key.googlecode.com/files/${name}.tar.gz"; + sha256 = "0j2vsjvdgx51nd1qmaa18mcy0yw9pwrhbv2mdwnf913bwsk4y904"; + }; + + unpackPhase = "tar xvzf $src"; + + buildInputs = [ alsaLib libX11 libXi libXtst xextproto ]; + + buildPhase = "make"; + + installPhase = "mkdir -p $out/bin && mv mid2key $out/bin"; + + meta = with stdenv.lib; { + homepage = http://code.google.com/p/mid2key/; + description = "A simple tool which maps midi notes to simulated keystrokes"; + license = licenses.gpl3; + maintainers = [ maintainers.goibhniu ]; + }; +} |