From bf98c55b76257bd1bced94297a4587c95b40d2cf Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Mon, 28 Sep 2020 03:05:18 -0300 Subject: [PATCH] Netsurf libnsgif: 0.2.1 -> 0.2.1 --- .../networking/browsers/netsurf/default.nix | 1 + .../browsers/netsurf/libnsgif.nix} | 13 ++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) rename pkgs/applications/{misc/netsurf/libnsgif/default.nix => networking/browsers/netsurf/libnsgif.nix} (62%) diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index d9559f38a7bf..cc97ea658e4a 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/misc/netsurf/libnsgif/default.nix b/pkgs/applications/networking/browsers/netsurf/libnsgif.nix similarity index 62% rename from pkgs/applications/misc/netsurf/libnsgif/default.nix rename to pkgs/applications/networking/browsers/netsurf/libnsgif.nix index 8bb67df70da9..d8683280c4e1 100644 --- a/pkgs/applications/misc/netsurf/libnsgif/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/libnsgif.nix @@ -3,18 +3,17 @@ }: stdenv.mkDerivation rec { - - name = "netsurf-${libname}-${version}"; + 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 = "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"; + sha256 = "sha256-nq6lNM1wtTxar0UxeulXcBaFprSojb407Sb0+q6Hmks="; }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ buildsystem]; + buildInputs = [ buildsystem ]; makeFlags = [ "PREFIX=$(out)" @@ -22,10 +21,10 @@ stdenv.mkDerivation rec { ]; meta = with stdenv.lib; { - homepage = "http://www.netsurf-browser.org/"; + homepage = "https://www.netsurf-browser.org/projects/${libname}/"; description = "GIF Decoder for netsurf browser"; - license = licenses.gpl2; - maintainers = [ maintainers.vrthra ]; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; platforms = platforms.unix; }; }