depot/third_party/nixpkgs/pkgs/applications/audio/ladspa-sdk/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
880 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "ladspa-sdk";
version = "1.15";
src = fetchurl {
url = "https://www.ladspa.org/download/ladspa_sdk_${version}.tgz";
sha256 = "1vgx54cgsnc3ncl9qbgjbmq12c444xjafjkgr348h36j16draaa2";
};
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;
};
}