571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, alsa-lib
|
|
, audiofile
|
|
, autoconf
|
|
, automake
|
|
, gnome2
|
|
, gtk2
|
|
, libGL
|
|
, libjack2
|
|
, libtool
|
|
, libxml2
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "industrializer";
|
|
version = "0.2.7";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/${pname}/ps${pname}-${version}.tar.xz";
|
|
sha256 = "0k688k2wppam351by7cp9m7an09yligzd89padr8viqy63gkdk6v";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoconf automake ];
|
|
|
|
buildInputs = [
|
|
alsa-lib
|
|
audiofile
|
|
gnome2.gtkglext
|
|
gtk2
|
|
libGL
|
|
libjack2
|
|
libtool
|
|
libxml2
|
|
];
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
meta = {
|
|
description = "This program generates synthesized percussion sounds using physical modelling";
|
|
longDescription = ''
|
|
The range of sounds possible include but is not limited to cymbal sounds, metallic noises, bubbly sounds, and chimes.
|
|
After a sound is rendered, it can be played and then saved to a .WAV file.
|
|
'';
|
|
homepage = "https://sourceforge.net/projects/industrializer/";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "psindustrializer";
|
|
};
|
|
}
|