forked from mirrors/nixpkgs
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.
35 lines
929 B
Nix
35 lines
929 B
Nix
{ stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python, wafHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lvtk";
|
|
version = "1.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/lvtk/lvtk/archive/${version}.tar.gz";
|
|
sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config python wafHook ];
|
|
buildInputs = [ boost gtkmm2 lv2 ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# Fix including the boost libraries during linking
|
|
postPatch = ''
|
|
sed -i '/target[ ]*= "ttl2c"/ ilib=["boost_system"],' tools/wscript_build
|
|
'';
|
|
|
|
wafConfigureFlags = [
|
|
"--boost-includes=${boost.dev}/include"
|
|
"--boost-libs=${boost.out}/lib"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A set C++ wrappers around the LV2 C API";
|
|
homepage = "https://lvtk.org/";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|