btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / in / industrializer / package.nix
blobba7099a0d603dcb97eaf3f8317b0d3d0cb1cb481
1 { lib, stdenv
2 , fetchurl
3 , alsa-lib
4 , audiofile
5 , autoconf
6 , automake
7 , gnome2
8 , gtk2
9 , libGL
10 , libjack2
11 , libtool
12 , libxml2
13 , pkg-config
16 stdenv.mkDerivation rec {
17   pname = "industrializer";
18   version = "0.2.7";
19   src = fetchurl {
20     url = "mirror://sourceforge/project/${pname}/ps${pname}-${version}.tar.xz";
21     sha256 = "0k688k2wppam351by7cp9m7an09yligzd89padr8viqy63gkdk6v";
22   };
24   nativeBuildInputs = [ pkg-config autoconf automake ];
26   buildInputs = [
27     alsa-lib
28     audiofile
29     gnome2.gtkglext
30     gtk2
31     libGL
32     libjack2
33     libtool
34     libxml2
35   ];
37   preConfigure = "./autogen.sh";
39   meta = {
40     description = "This program generates synthesized percussion sounds using physical modelling";
41     longDescription = ''
42       The range of sounds possible include but is not limited to cymbal sounds, metallic noises, bubbly sounds, and chimes.
43       After a sound is rendered, it can be played and then saved to a .WAV file.
44     '';
45     homepage = "https://sourceforge.net/projects/industrializer/";
46     license = lib.licenses.gpl2Plus;
47     maintainers = [ lib.maintainers.magnetophon ];
48     platforms = lib.platforms.linux;
49     mainProgram = "psindustrializer";
50   };