1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/ocaml-modules/optcomp/default.nix

26 lines
651 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
2014-05-17 11:51:18 +01:00
stdenv.mkDerivation {
2015-06-04 18:22:36 +01:00
name = "ocaml-optcomp-1.6";
2014-05-17 11:51:18 +01:00
src = fetchurl {
url = https://github.com/diml/optcomp/archive/1.6.tar.gz;
sha256 = "0hhhb2gisah1h22zlg5iszbgqxdd7x85cwd57bd4mfkx9l7dh8jh";
};
2014-05-17 11:51:18 +01:00
createFindlibDestdir = true;
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
2014-05-17 11:51:18 +01:00
meta = {
homepage = https://github.com/diml/optcomp;
description = "Optional compilation for OCaml with cpp-like directives";
license = stdenv.lib.licenses.bsd3;
platforms = ocaml.meta.platforms or [];
2014-05-17 11:51:18 +01:00
maintainers = [
stdenv.lib.maintainers.gal_bolle
];
};
}