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
14
pkgs/development/ocaml-modules/faraday/async.nix
Normal file
14
pkgs/development/ocaml-modules/faraday/async.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ buildDunePackage, faraday, core, async }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "faraday-async";
|
||||
inherit (faraday) version src useDune2;
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [ faraday core async ];
|
||||
|
||||
meta = faraday.meta // {
|
||||
description = "Async support for Faraday";
|
||||
};
|
||||
}
|
||||
28
pkgs/development/ocaml-modules/faraday/default.nix
Normal file
28
pkgs/development/ocaml-modules/faraday/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "faraday";
|
||||
version = "0.8.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inhabitedtype";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-eeR+nst/r2iFxCDmRS+LGr3yl/o27DcsS30YAu1GJmc=";
|
||||
};
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
propagatedBuildInputs = [ bigstringaf ];
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
||||
|
||||
meta = {
|
||||
description = "Serialization library built for speed and memory efficiency";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
};
|
||||
}
|
||||
12
pkgs/development/ocaml-modules/faraday/lwt-unix.nix
Normal file
12
pkgs/development/ocaml-modules/faraday/lwt-unix.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ buildDunePackage, faraday, faraday-lwt, lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "faraday-lwt-unix";
|
||||
inherit (faraday) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [ lwt faraday-lwt ];
|
||||
|
||||
meta = faraday.meta // {
|
||||
description = "Lwt + Unix support for Faraday";
|
||||
};
|
||||
}
|
||||
12
pkgs/development/ocaml-modules/faraday/lwt.nix
Normal file
12
pkgs/development/ocaml-modules/faraday/lwt.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ buildDunePackage, faraday, lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "faraday-lwt";
|
||||
inherit (faraday) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [ faraday lwt ];
|
||||
|
||||
meta = faraday.meta // {
|
||||
description = "Lwt support for Faraday";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue