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
25
pkgs/development/ocaml-modules/io-page/default.nix
Normal file
25
pkgs/development/ocaml-modules/io-page/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchurl, buildDunePackage, cstruct, bigarray-compat, ounit }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "io-page";
|
||||
version = "2.3.0";
|
||||
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.02.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "1hx27pwf419hrhwaw9cphbnl8akz8yy73hqj49l15g2k7shah1cn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct bigarray-compat ];
|
||||
checkInputs = [ ounit ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mirage/io-page";
|
||||
license = lib.licenses.isc;
|
||||
description = "IO memory page library for Mirage backends";
|
||||
maintainers = with lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
17
pkgs/development/ocaml-modules/io-page/unix.nix
Normal file
17
pkgs/development/ocaml-modules/io-page/unix.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, buildDunePackage, io-page, cstruct, ounit }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "io-page-unix";
|
||||
|
||||
inherit (io-page) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [ cstruct io-page ];
|
||||
checkInputs = [ ounit ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (io-page.meta) homepage license;
|
||||
description = "Support for efficient handling of I/O memory pages on Unix";
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue