mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
29 lines
853 B
Nix
29 lines
853 B
Nix
{ lib, stdenv, fetchzip, pkg-config, lv2, gtkmm2, boost }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lv2-cpp-tools";
|
|
version = "1.0.5";
|
|
|
|
src = fetchzip {
|
|
url = "http://deb.debian.org/debian/pool/main/l/lv2-c++-tools/lv2-c++-tools_${version}.orig.tar.bz2";
|
|
sha256 = "039bq7d7s2bhfcnlsfq0mqxr9a9iqwg5bwcpxfi24c6yl6krydsi";
|
|
};
|
|
|
|
preConfigure = ''
|
|
sed -r 's,/bin/bash,${stdenv.shell},g' -i ./configure
|
|
sed -r 's,/sbin/ldconfig,ldconfig,g' -i ./Makefile.template
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ lv2 gtkmm2 boost ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://ll-plugins.nongnu.org/hacking.html";
|
|
description = "Tools and libraries that may come in handy when writing LV2 plugins in C++";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.michalrus ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|