nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 cstruct,
6 fmt,
7 lwt,
8}:
9
10buildDunePackage (finalAttrs: {
11 pname = "mirage-flow";
12 version = "5.0.0";
13
14 src = fetchurl {
15 url = "https://github.com/mirage/mirage-flow/releases/download/v${finalAttrs.version}/mirage-flow-${finalAttrs.version}.tbz";
16 hash = "sha256-N8p5yuDtmycLh3Eu3LOXpd7Eqzk1eygQfgDapshVMyM=";
17 };
18
19 propagatedBuildInputs = [
20 cstruct
21 fmt
22 lwt
23 ];
24
25 meta = {
26 description = "Flow implementations and combinators for MirageOS";
27 homepage = "https://github.com/mirage/mirage-flow";
28 license = lib.licenses.isc;
29 maintainers = [ lib.maintainers.vbgl ];
30 };
31})