diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 03:05:18 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:15 -0300 |
commit | bf98c55b76257bd1bced94297a4587c95b40d2cf (patch) | |
tree | 04c50fe49e9d1a720764cb3cf429c6cf8bde24c2 /pkgs/applications/networking/browsers | |
parent | b06a3b1fcbe65f2ede386524d1db7d9b48117f11 (diff) |
Netsurf libnsgif: 0.2.1 -> 0.2.1
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/libnsgif.nix | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index d9559f38a7bfb..cc97ea658e4a2 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -3,5 +3,6 @@ lib.makeScope pkgs.newScope (self: with self; { buildsystem = callPackage ./buildsystem.nix { }; libnsbmp = callPackage ./libnsbmp.nix { }; + libnsgif = callPackage ./libnsgif.nix { }; libparserutils = callPackage ./libparserutils.nix { }; }) diff --git a/pkgs/applications/networking/browsers/netsurf/libnsgif.nix b/pkgs/applications/networking/browsers/netsurf/libnsgif.nix new file mode 100644 index 0000000000000..d8683280c4e1a --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libnsgif.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig +, buildsystem +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libnsgif"; + version = "0.2.1"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-nq6lNM1wtTxar0UxeulXcBaFprSojb407Sb0+q6Hmks="; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ buildsystem ]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/projects/${libname}/"; + description = "GIF Decoder for netsurf browser"; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; + platforms = platforms.unix; + }; +} |