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.
33 lines
845 B
Nix
33 lines
845 B
Nix
{ lib, stdenv, fetchurl, pkg-config
|
|
, uilib, SDL
|
|
, buildsystem
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "netsurf-${libname}";
|
|
libname = "libnsfb";
|
|
version = "0.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
|
sha256 = "sha256-vkRso+tU35A/LamDEdEH11dM0R9awHE+YZFW1NGeo5o=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ SDL buildsystem ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
"TARGET=${uilib}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
|
description = "Netsurf framebuffer abstraction library";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|