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
31
pkgs/development/ocaml-modules/decompress/default.nix
Normal file
31
pkgs/development/ocaml-modules/decompress/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, checkseum, bigarray-compat, optint, cmdliner
|
||||
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "1.4.2";
|
||||
pname = "decompress";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-v${version}.tbz";
|
||||
sha256 = "822f125b46c87f4a902c334db8c86d4d5f33ebe978e93c40351a4d3269b95225";
|
||||
};
|
||||
|
||||
buildInputs = [ cmdliner ];
|
||||
propagatedBuildInputs = [ optint bigarray-compat checkseum ];
|
||||
checkInputs = [ alcotest bigstringaf ctypes fmt camlzip base64 ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Pure OCaml implementation of Zlib";
|
||||
homepage = "https://github.com/mirage/decompress";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
mainProgram = "decompress.pipe";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue