1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/cow/default.nix

31 lines
871 B
Nix
Raw Normal View History

2017-02-18 21:58:29 +00:00
{ stdenv, fetchFromGitHub, ocaml, findlib
2017-12-14 07:36:29 +00:00
, ocamlbuild, topkg
2017-02-18 21:58:29 +00:00
, uri, xmlm, omd, ezjsonm }:
stdenv.mkDerivation rec {
version = "2.2.0";
name = "ocaml-cow-${version}";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-cow";
rev = "v${version}";
sha256 = "0snhabg7rfrrcq2ksr3qghiawd61cw3y4kp6rl7vs87j4cnk3kr2";
};
2017-12-14 07:36:29 +00:00
buildInputs = [ ocaml ocamlbuild findlib topkg ];
2017-02-18 21:58:29 +00:00
propagatedBuildInputs = [ xmlm uri ezjsonm omd ];
inherit (topkg) buildPhase installPhase;
meta = with stdenv.lib; {
description = "Caml on the Web";
longDescription = ''
Caml on the Web (COW) is a set of parsers and syntax extensions to let you manipulate HTML, CSS, XML, JSON and Markdown directly from OCaml code.
'';
license = licenses.isc;
maintainers = [ maintainers.sternenseemann ];
inherit (ocaml.meta) platforms;
};
}