litehtml: init at 0.6
This commit is contained in:
parent
00d58bc626
commit
5606ae7a27
2 changed files with 40 additions and 0 deletions
38
pkgs/development/libraries/litehtml/default.nix
Normal file
38
pkgs/development/libraries/litehtml/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, gumbo
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "litehtml";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "litehtml";
|
||||
repo = "litehtml";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9571d3k8RkzEpMWPuIejZ7njLmYstSwFUaSqT3sk6uQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gumbo
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DEXTERNAL_GUMBO=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and lightweight HTML/CSS rendering engine";
|
||||
homepage = "http://www.litehtml.com/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
};
|
||||
}
|
|
@ -21086,6 +21086,8 @@ with pkgs;
|
|||
|
||||
liquidfun = callPackage ../development/libraries/liquidfun { };
|
||||
|
||||
litehtml = callPackage ../development/libraries/litehtml { };
|
||||
|
||||
live555 = callPackage ../development/libraries/live555 { };
|
||||
|
||||
log4cpp = callPackage ../development/libraries/log4cpp { };
|
||||
|
|
Loading…
Reference in a new issue