nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 camlp-streams,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "ocamlify";
10 version = "0.1.0";
11
12 src = fetchurl {
13 url = "https://github.com/gildor478/ocamlify/releases/download/v${finalAttrs.version}/ocamlify-${finalAttrs.version}.tbz";
14 hash = "sha256-u0pGiwLR/5N0eRv+eSkdR71snyiSDPwh8JwuxbcXIGA=";
15 };
16
17 propagatedBuildInputs = [
18 camlp-streams
19 ];
20
21 doCheck = true;
22 dontStrip = true;
23
24 meta = {
25 homepage = "https://github.com/gildor478/ocamlify";
26 description = "Include files in OCaml code";
27 license = lib.licenses.lgpl21;
28 mainProgram = "ocamlify";
29 };
30})