fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 ocaml,
6 alcotest,
7 result,
8}:
9
10buildDunePackage (finalAttrs: {
11 pname = "dispatch";
12 version = "0.5.0";
13
14 duneVersion = "3";
15
16 src = fetchFromGitHub {
17 owner = "inhabitedtype";
18 repo = "ocaml-dispatch";
19 rev = finalAttrs.version;
20 sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
21 };
22
23 propagatedBuildInputs = [ result ];
24
25 checkInputs = [ alcotest ];
26
27 doCheck = lib.versionAtLeast ocaml.version "4.08";
28
29 meta = {
30 inherit (finalAttrs.src.meta) homepage;
31 license = lib.licenses.bsd3;
32 description = "Path-based dispatching for client- and server-side applications";
33 maintainers = [ lib.maintainers.vbgl ];
34 };
35
36})