mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
28 lines
741 B
Nix
28 lines
741 B
Nix
{ stdenv, fetchzip, ocaml, findlib, oasis, ocaml_optcomp, camlp4 }:
|
|
|
|
let version = "0.7"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocsigen-deriving-${version}";
|
|
src = fetchzip {
|
|
url = "https://github.com/ocsigen/deriving/archive/${version}.tar.gz";
|
|
sha256 = "05z606gly1iyan292x3mflg3zasgg68n8i2mivz0zbshx2hz2jbw";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib oasis ocaml_optcomp camlp4 ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = https://github.com/ocsigen/deriving;
|
|
description = "Extension to OCaml for deriving functions from type declarations";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = with stdenv.lib.maintainers; [
|
|
gal_bolle vbgl
|
|
];
|
|
};
|
|
|
|
|
|
}
|