summary refs log tree commit diff
path: root/pkgs/development/libraries/gumbo/default.nix
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@riseup.net>2018-01-21 13:29:45 +0000
committerYegor Timoshenko <yegortimoshenko@riseup.net>2018-01-21 13:29:45 +0000
commit26c6f431194f2a41630fc786e2ae798cf6f6c685 (patch)
treeb413a81197637c770e89f0abc862633e52f0d5bb /pkgs/development/libraries/gumbo/default.nix
parent94276da9e98691be7d083b06301c3e434ba2cfa4 (diff)
downloadnixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.tar
nixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.tar.gz
nixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.tar.bz2
nixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.tar.lz
nixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.tar.xz
nixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.tar.zst
nixpkgs-26c6f431194f2a41630fc786e2ae798cf6f6c685.zip
libgumbo: rename to gumbo
Diffstat (limited to 'pkgs/development/libraries/gumbo/default.nix')
-rw-r--r--pkgs/development/libraries/gumbo/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gumbo/default.nix b/pkgs/development/libraries/gumbo/default.nix
new file mode 100644
index 00000000000..17ca323a5fe
--- /dev/null
+++ b/pkgs/development/libraries/gumbo/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub, autoconf, automake, libtool }:
+
+stdenv.mkDerivation rec {
+  name = "gumbo-${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;
+  };
+}