mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +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.
31 lines
808 B
Nix
31 lines
808 B
Nix
{ lib, stdenv, fetchurl, pkg-config, bison, flex
|
|
, buildsystem
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "netsurf-${libname}";
|
|
libname = "libnslog";
|
|
version = "0.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
|
sha256 = "sha256-/JjcqdfvpnCWRwpdlsAjFG4lv97AjA23RmHHtNsEU9A=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config bison flex ];
|
|
buildInputs = [ buildsystem ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.netsurf-browser.org/";
|
|
description = "NetSurf Parametric Logging Library";
|
|
license = licenses.isc;
|
|
maintainers = [ maintainers.samueldr maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|