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
60
pkgs/development/ocaml-modules/cohttp/async.nix
Normal file
60
pkgs/development/ocaml-modules/cohttp/async.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, ppx_sexp_conv
|
||||
, base
|
||||
, async
|
||||
, async_kernel
|
||||
, async_unix
|
||||
, cohttp
|
||||
, conduit-async
|
||||
, uri
|
||||
, uri-sexp
|
||||
, logs
|
||||
, fmt
|
||||
, sexplib0
|
||||
, ipaddr
|
||||
, magic-mime
|
||||
, ounit
|
||||
, mirage-crypto
|
||||
, core
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "cohttp-async";
|
||||
|
||||
inherit (cohttp)
|
||||
version
|
||||
src
|
||||
minimumOCamlVersion
|
||||
useDune2
|
||||
;
|
||||
|
||||
buildInputs = [ ppx_sexp_conv ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cohttp
|
||||
conduit-async
|
||||
async_kernel
|
||||
async_unix
|
||||
async
|
||||
base
|
||||
magic-mime
|
||||
logs
|
||||
fmt
|
||||
sexplib0
|
||||
uri
|
||||
uri-sexp
|
||||
ipaddr
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
ounit
|
||||
mirage-crypto
|
||||
core
|
||||
];
|
||||
|
||||
meta = cohttp.meta // {
|
||||
description = "CoHTTP implementation for the Async concurrency library";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue