nixpkgs/pkgs/applications/audio/ladspa-sdk/default.nix

29 lines
864 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl }:
2015-05-13 15:33:17 +01:00
stdenv.mkDerivation rec {
pname = "ladspa-sdk";
2019-07-23 11:29:21 +01:00
version = "1.15";
2015-05-13 15:33:17 +01:00
src = fetchurl {
url = "https://www.ladspa.org/download/ladspa_sdk_${version}.tgz";
2019-07-23 11:29:21 +01:00
sha256 = "1vgx54cgsnc3ncl9qbgjbmq12c444xjafjkgr348h36j16draaa2";
2015-05-13 15:33:17 +01:00
};
patchPhase = ''
cd src
2019-07-23 11:29:21 +01:00
sed -i 's@/usr/@$(out)/@g' Makefile
sed -i 's@-mkdirhier@mkdir -p@g' Makefile
2015-05-13 15:33:17 +01:00
'';
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
2015-05-13 15:33:17 +01:00
three example programs (applyplugin, analyseplugin and listplugins).
'';
homepage = "http://www.ladspa.org/ladspa_sdk/overview.html";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl2;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
2015-05-13 15:33:17 +01:00
};
}