uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
18
pkgs/development/ocaml-modules/irmin/chunk.nix
Normal file
18
pkgs/development/ocaml-modules/irmin/chunk.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ lib, buildDunePackage, irmin, irmin-test, alcotest }:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "irmin-chunk";
|
||||
inherit (irmin) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [ irmin ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest irmin-test ];
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Irmin backend which allow to store values into chunks";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
27
pkgs/development/ocaml-modules/irmin/containers.nix
Normal file
27
pkgs/development/ocaml-modules/irmin/containers.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ buildDunePackage
|
||||
, irmin, irmin-unix, irmin-git, ppx_irmin, lwt, mtime
|
||||
, alcotest, alcotest-lwt, cacert
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "irmin-containers";
|
||||
|
||||
inherit (ppx_irmin) src version useDune2;
|
||||
|
||||
nativeBuildInputs = [
|
||||
ppx_irmin
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
irmin irmin-unix irmin-git ppx_irmin lwt mtime
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest alcotest-lwt cacert
|
||||
];
|
||||
|
||||
meta = ppx_irmin.meta // {
|
||||
description = "Mergeable Irmin data structures";
|
||||
};
|
||||
}
|
||||
35
pkgs/development/ocaml-modules/irmin/default.nix
Normal file
35
pkgs/development/ocaml-modules/irmin/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, buildDunePackage
|
||||
, astring, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
|
||||
, repr, ppx_irmin, bheap, uutf
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "irmin";
|
||||
|
||||
inherit (ppx_irmin) src version;
|
||||
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astring
|
||||
digestif
|
||||
fmt
|
||||
jsonm
|
||||
logs
|
||||
ocaml_lwt
|
||||
ocamlgraph
|
||||
uri
|
||||
repr
|
||||
bheap
|
||||
ppx_irmin
|
||||
uutf
|
||||
];
|
||||
|
||||
# circular dependency on irmin-mem
|
||||
doCheck = false;
|
||||
|
||||
meta = ppx_irmin.meta // {
|
||||
description = "A distributed database built on the same principles as Git";
|
||||
};
|
||||
}
|
||||
23
pkgs/development/ocaml-modules/irmin/fs.nix
Normal file
23
pkgs/development/ocaml-modules/irmin/fs.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, buildDunePackage, irmin, irmin-test }:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "irmin-fs";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
propagatedBuildInputs = [ irmin ];
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
checkInputs = lib.optional doCheck irmin-test;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Generic file-system backend for Irmin";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
38
pkgs/development/ocaml-modules/irmin/git.nix
Normal file
38
pkgs/development/ocaml-modules/irmin/git.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, buildDunePackage
|
||||
, git, irmin, irmin-test, ppx_irmin, git-cohttp-unix, git-unix
|
||||
, digestif, cstruct, fmt, astring, fpath, logs, lwt, uri
|
||||
, mtime, alcotest, cacert
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
|
||||
pname = "irmin-git";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
git
|
||||
irmin
|
||||
ppx_irmin
|
||||
digestif
|
||||
cstruct
|
||||
fmt
|
||||
astring
|
||||
fpath
|
||||
logs
|
||||
lwt
|
||||
uri
|
||||
];
|
||||
|
||||
checkInputs = [ mtime alcotest git-cohttp-unix git-unix irmin-test cacert ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Git backend for Irmin";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
32
pkgs/development/ocaml-modules/irmin/graphql.nix
Normal file
32
pkgs/development/ocaml-modules/irmin/graphql.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildDunePackage, cohttp-lwt, graphql-cohttp, graphql-lwt, irmin
|
||||
, alcotest, alcotest-lwt, logs, yojson, cohttp-lwt-unix, cacert
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "irmin-graphql";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ cohttp-lwt graphql-cohttp graphql-lwt irmin ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
alcotest-lwt
|
||||
logs
|
||||
cohttp-lwt-unix
|
||||
yojson
|
||||
cacert
|
||||
];
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "GraphQL server for Irmin";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
28
pkgs/development/ocaml-modules/irmin/http.nix
Normal file
28
pkgs/development/ocaml-modules/irmin/http.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildDunePackage, cohttp-lwt, irmin, webmachine
|
||||
, checkseum, git-unix, irmin-git, irmin-test, digestif, git-cohttp-unix
|
||||
, cacert
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "irmin-http";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ cohttp-lwt irmin webmachine ];
|
||||
|
||||
checkInputs = [
|
||||
digestif checkseum git-cohttp-unix git-unix irmin-git irmin-test cacert
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "HTTP client and server for Irmin";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
18
pkgs/development/ocaml-modules/irmin/layers.nix
Normal file
18
pkgs/development/ocaml-modules/irmin/layers.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ buildDunePackage, irmin, mtime, logs, lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "irmin-layers";
|
||||
|
||||
inherit (irmin) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
irmin
|
||||
mtime
|
||||
logs
|
||||
lwt
|
||||
];
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Combine different Irmin stores into a single, layered store";
|
||||
};
|
||||
}
|
||||
27
pkgs/development/ocaml-modules/irmin/mirage-git.nix
Normal file
27
pkgs/development/ocaml-modules/irmin/mirage-git.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ buildDunePackage, irmin-mirage, irmin-git
|
||||
, mirage-kv, cohttp, conduit-lwt, conduit-mirage
|
||||
, git-paf, fmt, git, lwt, mirage-clock, uri
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "irmin-mirage-git";
|
||||
|
||||
inherit (irmin-mirage) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
irmin-mirage
|
||||
irmin-git
|
||||
mirage-kv
|
||||
cohttp
|
||||
conduit-lwt
|
||||
conduit-mirage
|
||||
git-paf
|
||||
fmt
|
||||
git
|
||||
lwt
|
||||
mirage-clock
|
||||
uri
|
||||
];
|
||||
|
||||
inherit (irmin-mirage) meta;
|
||||
}
|
||||
21
pkgs/development/ocaml-modules/irmin/mirage-graphql.nix
Normal file
21
pkgs/development/ocaml-modules/irmin/mirage-graphql.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ buildDunePackage, irmin-mirage, irmin-graphql
|
||||
, mirage-clock, cohttp-lwt, lwt, uri, git
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "irmin-mirage-graphql";
|
||||
|
||||
inherit (irmin-mirage) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
irmin-mirage
|
||||
irmin-graphql
|
||||
mirage-clock
|
||||
cohttp-lwt
|
||||
lwt
|
||||
uri
|
||||
git
|
||||
];
|
||||
|
||||
inherit (irmin-mirage) meta;
|
||||
}
|
||||
15
pkgs/development/ocaml-modules/irmin/mirage.nix
Normal file
15
pkgs/development/ocaml-modules/irmin/mirage.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ buildDunePackage, irmin, fmt, ptime, mirage-clock }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "irmin-mirage";
|
||||
|
||||
inherit (irmin) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
irmin fmt ptime mirage-clock
|
||||
];
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "MirageOS-compatible Irmin stores";
|
||||
};
|
||||
}
|
||||
26
pkgs/development/ocaml-modules/irmin/pack.nix
Normal file
26
pkgs/development/ocaml-modules/irmin/pack.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildDunePackage
|
||||
, alcotest-lwt, index, irmin, irmin-layers, irmin-test, ocaml_lwt, fpath, optint
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.02.3";
|
||||
|
||||
pname = "irmin-pack";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
buildInputs = [ fpath ];
|
||||
propagatedBuildInputs = [ index irmin irmin-layers ocaml_lwt optint ];
|
||||
|
||||
checkInputs = [ alcotest-lwt irmin-test ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Irmin backend which stores values in a pack file";
|
||||
mainProgram = "irmin_fsck";
|
||||
};
|
||||
|
||||
}
|
||||
27
pkgs/development/ocaml-modules/irmin/ppx.nix
Normal file
27
pkgs/development/ocaml-modules/irmin/ppx.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_irmin";
|
||||
version = "2.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
|
||||
sha256 = "10r7j4z4gx3dp48lavjhpb1cam27n6ch751amslb0drphy53l00n";
|
||||
};
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ppx_repr
|
||||
ppxlib
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://irmin.org/";
|
||||
description = "PPX deriver for Irmin generics";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ vbgl sternenseemann ];
|
||||
};
|
||||
}
|
||||
21
pkgs/development/ocaml-modules/irmin/test.nix
Normal file
21
pkgs/development/ocaml-modules/irmin/test.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ buildDunePackage
|
||||
, alcotest, cmdliner, irmin, metrics-unix, mtime, irmin-layers
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
|
||||
pname = "irmin-test";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alcotest cmdliner irmin metrics-unix mtime irmin-layers
|
||||
];
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Irmin test suite";
|
||||
};
|
||||
|
||||
}
|
||||
33
pkgs/development/ocaml-modules/irmin/unix.nix
Normal file
33
pkgs/development/ocaml-modules/irmin/unix.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildDunePackage
|
||||
, checkseum, cmdliner, git-unix, git-cohttp-unix, yaml, fpath
|
||||
, irmin, irmin-fs, irmin-git, irmin-graphql, irmin-http
|
||||
, irmin-pack, irmin-watcher, irmin-test, cacert
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "irmin-unix";
|
||||
|
||||
inherit (irmin) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
checkseum cmdliner git-unix yaml fpath
|
||||
irmin irmin-fs irmin-git irmin-graphql irmin-http
|
||||
irmin-pack irmin-watcher git-cohttp-unix
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
irmin-test cacert
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = irmin.meta // {
|
||||
description = "Unix backends for Irmin";
|
||||
mainProgram = "irmin";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue