mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
774 B
Nix
27 lines
774 B
Nix
{ stdenv, fetchurl }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "ladspa.h";
|
|
version = "1.15";
|
|
src = fetchurl {
|
|
url = "https://www.ladspa.org/download/ladspa_sdk_${version}.tgz";
|
|
sha256 = "1vgx54cgsnc3ncl9qbgjbmq12c444xjafjkgr348h36j16draaa2";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include
|
|
cp src/ladspa.h $out/include/ladspa.h
|
|
'';
|
|
|
|
meta = {
|
|
description = "LADSPA format audio plugins header file";
|
|
longDescription = ''
|
|
The ladspa.h API header file from the LADSPA SDK.
|
|
For the full SDK, use the ladspa-sdk package.
|
|
'';
|
|
homepage = http://www.ladspa.org/ladspa_sdk/overview.html;
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|