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

31 lines
798 B
Nix
Raw Normal View History

2016-06-22 08:34:15 +03:00
{ stdenv, fetchurl, pkgconfig
, buildsystem
}:
stdenv.mkDerivation rec {
2020-09-28 09:05:18 +03:00
pname = "netsurf-${libname}";
2016-06-22 08:34:15 +03:00
libname = "libnsgif";
2019-07-25 03:10:06 +03:00
version = "0.2.1";
2016-06-22 08:34:15 +03:00
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
2020-09-28 09:05:18 +03:00
sha256 = "sha256-nq6lNM1wtTxar0UxeulXcBaFprSojb407Sb0+q6Hmks=";
2016-06-22 08:34:15 +03:00
};
nativeBuildInputs = [ pkgconfig ];
2020-09-28 09:05:18 +03:00
buildInputs = [ buildsystem ];
2016-06-22 08:34:15 +03:00
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
2020-09-28 09:05:18 +03:00
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
2016-06-22 08:34:15 +03:00
description = "GIF Decoder for netsurf browser";
2020-09-28 09:05:18 +03:00
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
2019-11-01 00:54:09 +03:00
platforms = platforms.unix;
2016-06-22 08:34:15 +03:00
};
}