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
26
pkgs/development/ocaml-modules/mirage-console/default.nix
Normal file
26
pkgs/development/ocaml-modules/mirage-console/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, lwt, mirage-device, mirage-flow
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-console";
|
||||
version = "4.0.0";
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-v${version}.tbz";
|
||||
sha256 = "11nwfd4kmmdzkrkhbakdi3cxhk8vi98l17960rgcf85c602gw6vp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lwt mirage-device mirage-flow ];
|
||||
|
||||
meta = {
|
||||
description = "Implementations of Mirage console devices";
|
||||
homepage = "https://github.com/mirage/mirage-console";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
17
pkgs/development/ocaml-modules/mirage-console/unix.nix
Normal file
17
pkgs/development/ocaml-modules/mirage-console/unix.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ buildDunePackage, mirage-console, lwt, cstruct, cstruct-lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-console-unix";
|
||||
|
||||
inherit (mirage-console) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mirage-console
|
||||
cstruct
|
||||
cstruct-lwt
|
||||
];
|
||||
|
||||
meta = mirage-console.meta // {
|
||||
description = "Implementation of Mirage consoles for Unix";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue