nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 ocaml,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "omake";
10 version = "0.10.7";
11
12 src = fetchFromGitHub {
13 owner = "ocaml-omake";
14 repo = "omake";
15 tag = "omake-${finalAttrs.version}";
16 hash = "sha256-5ZOdY3uGcI0KGpnr7epUwe2ueKCoLeaHGzaiTiXLNoc=";
17 };
18
19 strictDeps = true;
20
21 nativeBuildInputs = [ ocaml ];
22
23 meta = {
24 description = "Build system designed for scalability and portability";
25 homepage = "http://projects.camlcity.org/projects/omake.html";
26 license = with lib.licenses; [
27 mit # scripts
28 gpl2 # program
29 ];
30 inherit (ocaml.meta) platforms;
31 };
32})