nixpkgs/pkgs/applications/networking/browsers/netsurf/libnslog.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
763 B
Nix
Raw Normal View History

2023-07-22 16:41:43 +00:00
{ lib
, stdenv
, fetchurl
, bison
, flex
, pkg-config
2019-07-25 01:06:10 +00:00
, buildsystem
}:
2023-07-22 16:41:43 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "netsurf-libnslog";
2020-09-28 06:10:13 +00:00
version = "0.1.3";
2019-07-25 01:06:10 +00:00
src = fetchurl {
2023-07-22 16:41:43 +00:00
url = "http://download.netsurf-browser.org/libs/releases/libnslog-${finalAttrs.version}-src.tar.gz";
hash = "sha256-/JjcqdfvpnCWRwpdlsAjFG4lv97AjA23RmHHtNsEU9A=";
2019-07-25 01:06:10 +00:00
};
2023-07-22 16:41:43 +00:00
nativeBuildInputs = [
bison
flex
pkg-config
];
2020-09-28 06:10:13 +00:00
buildInputs = [ buildsystem ];
2019-07-25 01:06:10 +00:00
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
2023-07-22 16:41:43 +00:00
meta = {
2020-09-28 06:10:13 +00:00
homepage = "https://www.netsurf-browser.org/";
2019-07-25 01:06:10 +00:00
description = "NetSurf Parametric Logging Library";
2023-07-22 16:41:43 +00:00
license = lib.licenses.isc;
inherit (buildsystem.meta) maintainers platforms;
2019-07-25 01:06:10 +00:00
};
2023-07-22 16:41:43 +00:00
})