nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 alcotest,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "cachet";
10 version = "0.0.2";
11
12 minimalOCamlVersion = "4.13";
13
14 src = fetchurl {
15 url = "https://github.com/robur-coop/cachet/releases/download/v${finalAttrs.version}/cachet-${finalAttrs.version}.tbz";
16 hash = "sha256:7cf3d609523592516ee5570c106756168d9dca264412a0ef4085d9864c53cbad";
17 };
18
19 doCheck = true;
20 checkInputs = [
21 alcotest
22 ];
23
24 meta = {
25 description = "A simple cache system for mmap";
26 homepage = "https://git.robur.coop/robur/cachet";
27 license = lib.licenses.mit;
28 maintainers = [ lib.maintainers.vbgl ];
29 };
30})