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

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

47 lines
876 B
Nix
Raw Normal View History

2023-07-22 16:52:28 +00:00
{ lib
, stdenv
, fetchurl
, gperf
, pkg-config
2019-07-25 01:06:31 +00:00
, buildsystem
, libdom
, libhubbub
, libparserutils
, libwapcaplet
}:
2023-07-22 16:52:28 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "netsurf-libsvgtiny";
2019-07-25 01:06:31 +00:00
version = "0.1.7";
src = fetchurl {
2023-07-22 16:52:28 +00:00
url = "http://download.netsurf-browser.org/libs/releases/libsvgtiny-${finalAttrs.version}-src.tar.gz";
hash = "sha256-LA3PlS8c2ILD6VQB75RZ8W27U8XT5FEjObL563add4E=";
2019-07-25 01:06:31 +00:00
};
2023-07-22 16:52:28 +00:00
nativeBuildInputs = [
gperf
pkg-config
];
2019-07-25 01:06:31 +00:00
buildInputs = [
2023-07-22 16:52:28 +00:00
buildsystem
2019-07-25 01:06:31 +00:00
libdom
libhubbub
libparserutils
libwapcaplet
2023-07-22 16:52:28 +00:00
];
2019-07-25 01:06:31 +00:00
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
2023-07-22 16:52:28 +00:00
meta = {
homepage = "https://www.netsurf-browser.org/projects/libsvgtiny/";
2019-07-25 01:06:31 +00:00
description = "NetSurf SVG decoder";
2023-07-22 16:52:28 +00:00
license = lib.licenses.mit;
inherit (buildsystem.meta) maintainers platforms;
2019-07-25 01:06:31 +00:00
};
2023-07-22 16:52:28 +00:00
})