nixpkgs/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
2020-09-28 22:39:18 -03:00

40 lines
922 B
Nix

{ stdenv, fetchurl, pkgconfig, gperf
, buildsystem
, libdom
, libhubbub
, libparserutils
, libwapcaplet
}:
stdenv.mkDerivation rec {
pname = "netsurf-${libname}";
libname = "libsvgtiny";
version = "0.1.7";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
sha256 = "sha256-LA3PlS8c2ILD6VQB75RZ8W27U8XT5FEjObL563add4E=";
};
nativeBuildInputs = [ pkgconfig gperf ];
buildInputs = [
libdom
libhubbub
libparserutils
libwapcaplet
buildsystem ];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
description = "NetSurf SVG decoder";
license = licenses.mit;
maintainers = [ maintainers.samueldr maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}