2023-07-22 17:51:38 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
2016-06-22 06:36:19 +01:00
|
|
|
, buildsystem
|
|
|
|
}:
|
|
|
|
|
2023-07-22 17:51:38 +01:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "netsurf-libnsutils";
|
2024-01-30 21:16:08 +00:00
|
|
|
version = "0.1.1";
|
2016-06-22 06:36:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-07-22 17:51:38 +01:00
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/libnsutils-${finalAttrs.version}-src.tar.gz";
|
2024-01-30 21:16:08 +00:00
|
|
|
hash = "sha256-VpS0Um5FjtAAQTzmAnWJy+EKJXp+zwZaAUIdxymd6pI=";
|
2016-06-22 06:36:19 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2023-07-22 17:51:38 +01:00
|
|
|
|
2020-09-28 07:24:38 +01:00
|
|
|
buildInputs = [ buildsystem ];
|
2016-06-22 06:36:19 +01:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
2023-07-22 17:51:38 +01:00
|
|
|
meta = {
|
2022-05-14 21:09:44 +01:00
|
|
|
homepage = "https://www.netsurf-browser.org/";
|
2016-06-22 06:36:19 +01:00
|
|
|
description = "Generalised utility library for netsurf browser";
|
2023-07-22 17:51:38 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
inherit (buildsystem.meta) maintainers platforms;
|
2016-06-22 06:36:19 +01:00
|
|
|
};
|
2023-07-22 17:51:38 +01:00
|
|
|
})
|