From 9e7434348dbfe93cc7a6acd5235b1b101b60fff4 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Tue, 21 Jun 2016 22:37:37 -0700 Subject: [PATCH] netsurf-libutf8proc: init at 1.3.1 --- .../misc/netsurf/libutf8proc/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/misc/netsurf/libutf8proc/default.nix diff --git a/pkgs/applications/misc/netsurf/libutf8proc/default.nix b/pkgs/applications/misc/netsurf/libutf8proc/default.nix new file mode 100644 index 000000000000..b2057e1889fa --- /dev/null +++ b/pkgs/applications/misc/netsurf/libutf8proc/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig +, buildsystem +}: + +stdenv.mkDerivation rec { + + name = "netsurf-${libname}-${version}"; + libname = "libutf8proc"; + version = "1.3.1"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "0xf659y3c6ikjnip47r30wv796a34d71p6qhc4xjs64iqszm1sbq"; + }; + + buildInputs = [ buildsystem pkgconfig]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + meta = with stdenv.lib; { + homepage = "http://www.netsurf-browser.org/"; + description = "UTF8 Processing library for netsurf browser"; + license = licenses.gpl2; + maintainers = [ maintainers.vrthra ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 98ab8399c8e7..42ade0f91ac2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2242,6 +2242,8 @@ in libnsutils = callPackage ../applications/misc/netsurf/libnsutils { }; + libutf8proc = callPackage ../applications/misc/netsurf/libutf8proc { }; + }); netperf = callPackage ../applications/networking/netperf { };