1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/applications/networking/browsers/netsurf/libnsutils.nix

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

33 lines
740 B
Nix
Raw Permalink Normal View History

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
};
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
})