diff options
author | Bart Brouns <bart@magnetopon.nl> | 2015-05-13 16:33:17 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetopon.nl> | 2015-05-13 22:09:48 +0200 |
commit | 413c17e43099f5f1c0959168b9a827d66e2d4e14 (patch) | |
tree | 2e8fc9a0bcd641a76814928de8f76afca6b94fe5 /pkgs/applications/audio/ladspa-sdk | |
parent | 020e06e410e0675a2cfa32c8f7bb75368de835d1 (diff) | |
download | nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.gz nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.bz2 nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.lz nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.xz nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.zst nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.zip |
add ladspa-sdk, move ladspaH
Diffstat (limited to 'pkgs/applications/audio/ladspa-sdk')
-rw-r--r-- | pkgs/applications/audio/ladspa-sdk/default.nix | 28 | ||||
-rw-r--r-- | pkgs/applications/audio/ladspa-sdk/ladspah.nix | 17 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ladspa-sdk/default.nix b/pkgs/applications/audio/ladspa-sdk/default.nix new file mode 100644 index 000000000000..c333492fd13e --- /dev/null +++ b/pkgs/applications/audio/ladspa-sdk/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl }: +stdenv.mkDerivation rec { + name = "ladspa-sdk-${version}"; + version = "1.13"; + src = fetchurl { + url = "http://www.ladspa.org/download/ladspa_sdk_${version}.tgz"; + sha256 = "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"; + }; + + patchPhase = '' + cd src + sed -i 's@/usr/@$(out)/@g' makefile + sed -i 's@-mkdirhier@mkdir -p@g' makefile + ''; + + meta = { + description = "The SDK for the LADSPA audio plugin standard"; + longDescription = '' + The LADSPA SDK, including the ladspa.h API header file, + ten example LADSPA plugins and + three example programs (applyplugin, analyseplugin and listplugins). + ''; + homepage = http://www.ladspa.org/ladspa_sdk/overview.html; + license = stdenv.lib.licenses.lgpl2; + maintainers = [ stdenv.lib.maintainers.magnetophon ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/applications/audio/ladspa-sdk/ladspah.nix b/pkgs/applications/audio/ladspa-sdk/ladspah.nix new file mode 100644 index 000000000000..8c4d8a8c1ed5 --- /dev/null +++ b/pkgs/applications/audio/ladspa-sdk/ladspah.nix @@ -0,0 +1,17 @@ +{ runCommand, fetchurl }: + +let + + src = fetchurl { + url = http://www.ladspa.org/ladspa_sdk/ladspa.h.txt; + sha256 = "1b908csn85ng9sz5s5d1mqk711cmawain2z8px2ajngihdrynb67"; + }; + +in + +runCommand "ladspa.h" + { meta.description = "LADSPA format audio plugins"; } + '' + mkdir -p $out/include + cp ${src} $out/include/ladspa.h + '' |