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
28
pkgs/development/ocaml-modules/alcotest/default.nix
Normal file
28
pkgs/development/ocaml-modules/alcotest/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildDunePackage, fetchurl
|
||||
, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf, ocaml-syntax-shims
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "alcotest";
|
||||
version = "1.5.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-js-${version}.tbz";
|
||||
sha256 = "sha256-VCgZB+AteJld8kbcLhDtGCgoKUrSBZNHoeOhM1SEj2w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml-syntax-shims ];
|
||||
|
||||
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mirage/alcotest";
|
||||
description = "A lightweight and colourful test framework";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.ericbmerritt ];
|
||||
};
|
||||
}
|
||||
19
pkgs/development/ocaml-modules/alcotest/lwt.nix
Normal file
19
pkgs/development/ocaml-modules/alcotest/lwt.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, buildDunePackage, alcotest, logs, ocaml_lwt, fmt
|
||||
, re, cmdliner
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "alcotest-lwt";
|
||||
|
||||
inherit (alcotest) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [ alcotest logs ocaml_lwt fmt ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ re cmdliner ];
|
||||
|
||||
meta = alcotest.meta // {
|
||||
description = "Lwt-based helpers for Alcotest";
|
||||
};
|
||||
|
||||
}
|
||||
16
pkgs/development/ocaml-modules/alcotest/mirage.nix
Normal file
16
pkgs/development/ocaml-modules/alcotest/mirage.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, buildDunePackage, alcotest, lwt, logs, mirage-clock, duration }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "alcotest-mirage";
|
||||
|
||||
inherit (alcotest) version src useDune2;
|
||||
|
||||
propagatedBuildInputs = [ alcotest lwt logs mirage-clock duration ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = alcotest.meta // {
|
||||
description = "Mirage implementation for Alcotest";
|
||||
maintainers = with lib.maintainers; [ ulrikstrid anmonteiro ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue