From fefe011f82f26d06055a9be97fd6eba93f7d98a4 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 20 Oct 2016 21:16:03 +0200 Subject: [PATCH] libgumbo: init at 0.10.1 --- .../libraries/libgumbo/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/libgumbo/default.nix diff --git a/pkgs/development/libraries/libgumbo/default.nix b/pkgs/development/libraries/libgumbo/default.nix new file mode 100644 index 000000000000..210a66e654a7 --- /dev/null +++ b/pkgs/development/libraries/libgumbo/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, autoconf, automake, libtool }: + +stdenv.mkDerivation rec { + name = "libgumbo-${version}"; + version = "0.10.1"; + + src = fetchFromGitHub { + owner = "google"; + repo = "gumbo-parser"; + rev = "v${version}"; + sha256 = "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"; + }; + + buildInputs = [ autoconf automake libtool ]; + + preConfigure = "./autogen.sh"; + + meta = with stdenv.lib; { + description = "C99 HTML parsing algorithm"; + homepage = https://github.com/google/gumbo-parser; + maintainers = [ maintainers.nico202 ]; + platforms = platforms.linux; + license = licenses.asl20; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 71e7e91acf99..6a48422b70a5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7776,6 +7776,8 @@ in inherit (perlPackages) libintlperl GetoptLong SysVirt; }; + libgumbo = callPackage ../development/libraries/libgumbo { }; + libhangul = callPackage ../development/libraries/libhangul { }; libharu = callPackage ../development/libraries/libharu { };