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

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

33 lines
734 B
Nix
Raw Normal View History

2023-07-22 16:51:00 +00:00
{ lib
, stdenv
, fetchurl
, pkg-config
2019-07-25 01:06:59 +00:00
, buildsystem
}:
2023-07-22 16:51:00 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "netsurf-libnspsl";
2020-09-28 06:19:39 +00:00
version = "0.1.6";
2019-07-25 01:06:59 +00:00
src = fetchurl {
2023-07-22 16:51:00 +00:00
url = "http://download.netsurf-browser.org/libs/releases/libnspsl-${finalAttrs.version}-src.tar.gz";
hash = "sha256-08WCBct40xC/gcpVNHotCYcZzsrHBGvDZ5g7E4tFAgs=";
2019-07-25 01:06:59 +00:00
};
nativeBuildInputs = [ pkg-config ];
2023-07-22 16:51:00 +00:00
2020-09-28 06:19:39 +00:00
buildInputs = [ buildsystem ];
2019-07-25 01:06:59 +00:00
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
2023-07-22 16:51:00 +00:00
meta = {
2020-09-28 06:19:39 +00:00
homepage = "https://www.netsurf-browser.org/";
2019-07-25 01:06:59 +00:00
description = "NetSurf Public Suffix List - Handling library";
2023-07-22 16:51:00 +00:00
license = lib.licenses.mit;
inherit (buildsystem.meta) maintainers platforms;
2019-07-25 01:06:59 +00:00
};
2023-07-22 16:51:00 +00:00
})