mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ stdenv, fetchgit, fftwSinglePrec, libxslt, lv2, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "swh-lv2-git-2013-05-17";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/swh/lv2.git";
|
|
rev = "978d5d8f549fd22048157a6d044af0faeaacbd7f";
|
|
sha256 = "10jj8sp67caxvmzjxwyzapc34jpry5nrkkp49kyyvyk5dgkpbsjw";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -e "s#xsltproc#${libxslt.bin}/bin/xsltproc#" -i Makefile
|
|
sed -e "s#PREFIX = /usr/local#PREFIX = $out#" -i Makefile
|
|
'';
|
|
|
|
buildInputs = [ fftwSinglePrec lv2 pkgconfig ];
|
|
|
|
installPhase = "make install-system";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://plugin.org.uk;
|
|
description = "LV2 version of Steve Harris' SWH plugins";
|
|
longDescription = ''
|
|
SWH plugins include:
|
|
amp, fast overdrive, overdrive (with colourisation), comb
|
|
filter, waveshaper, ringmod, divider, diode, decliper, pitch
|
|
scaler, 16 band equaliser, sinus wavewrapper, hermes filter,
|
|
chorus, flanger, decimater, oscillator, gverb, phasers, harmonic
|
|
generators, surround encoders and more.
|
|
'';
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|