diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 03:30:14 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:17 -0300 |
commit | b537eb29c013c27e640753a6d3b64f9206f5a4f5 (patch) | |
tree | b5e638e1a6f42a61d11ab2a76e37625251cb9aff /pkgs/applications/networking/browsers | |
parent | fc5cb71883bef2f792f6fb2051c126ccd686df90 (diff) |
Netsurf libwapcaplet: 0.4.2 -> 0.4.3
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/libwapcaplet.nix | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index a7465c0fda9d7..de68a04286919 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -9,4 +9,5 @@ lib.makeScope pkgs.newScope (self: with self; { libnsutils = callPackage ./libnsutils.nix { }; libparserutils = callPackage ./libparserutils.nix { }; libutf8proc = callPackage ./libutf8proc.nix { }; + libwapcaplet = callPackage ./libwapcaplet.nix { }; }) diff --git a/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix b/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix new file mode 100644 index 0000000000000..8c5af461fd06f --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libwapcaplet.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl +, buildsystem +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libwapcaplet"; + version = "0.4.3"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-myqh3W1mRfjpkrNpf9vYfwwOHaVyH6VO0ptITRMWDFw="; + }; + + buildInputs = [ buildsystem ]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type"; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/projects/${libname}/"; + description = "String internment library for netsurf browser"; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} |