diff --git a/pkgs/applications/audio/petrifoo/default.nix b/pkgs/applications/audio/petrifoo/default.nix new file mode 100644 index 000000000000..2e53a22bff3b --- /dev/null +++ b/pkgs/applications/audio/petrifoo/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchgit, alsaLib, cmake, gtk, jackaudio, libgnomecanvas +, libpthreadstubs, libsamplerate, libsndfile, libtool, libxml2 +, pkgconfig }: + +stdenv.mkDerivation rec { + name = "petri-foo"; + + src = fetchgit { + url = https://github.com/licnep/Petri-Foo.git; + rev = "eef3b6efebe842d2fa18ed32b881fea4562b84e0"; + sha256 = "a20c3f1a633500a65c099c528c7dc2405daa60738b64d881bb8f2036ae59913c"; + }; + + buildInputs = + [ alsaLib cmake gtk jackaudio libgnomecanvas libpthreadstubs + libsamplerate libsndfile libtool libxml2 pkgconfig + ]; + + dontUseCmakeBuildDir=true; + + meta = with stdenv.lib; { + description = "MIDI controllable audio sampler"; + longDescription = "a fork of Specimen"; + homepage = http://petri-foo.sourceforge.net; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d6891b365674..2ee5bb3e2009 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7144,6 +7144,10 @@ let paraview = callPackage ../applications/graphics/paraview { }; + petrifoo = callPackage ../applications/audio/petrifoo { + inherit (gnome) libgnomecanvas; + }; + pdftk = callPackage ../tools/typesetting/pdftk { }; pidgin = callPackage ../applications/networking/instant-messengers/pidgin {