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
54
pkgs/development/ocaml-modules/piaf/default.nix
Normal file
54
pkgs/development/ocaml-modules/piaf/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ alcotest-lwt
|
||||
, buildDunePackage
|
||||
, dune-site
|
||||
, fetchzip
|
||||
, gluten-lwt-unix
|
||||
, lib
|
||||
, logs
|
||||
, lwt_ssl
|
||||
, magic-mime
|
||||
, mrmime
|
||||
, openssl
|
||||
, pecu
|
||||
, psq
|
||||
, ssl
|
||||
, uri
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "piaf";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz";
|
||||
sha256 = "0d431kz3bkwlgdamvsv94mzd9631ppcjpv516ii91glzlfdzh5hz";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./vendor/dune --replace "mrmime.prettym" "prettym"
|
||||
'';
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
logs
|
||||
magic-mime
|
||||
mrmime
|
||||
psq
|
||||
uri
|
||||
gluten-lwt-unix
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
alcotest-lwt
|
||||
dune-site
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "An HTTP library with HTTP/2 support written entirely in OCaml";
|
||||
homepage = "https://github.com/anmonteiro/piaf";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ anmonteiro ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue