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/mirage-block/combinators.nix
Normal file
25
pkgs/development/ocaml-modules/mirage-block/combinators.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ buildDunePackage, fetchpatch, mirage-block, io-page, logs }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-block-combinators";
|
||||
inherit (mirage-block) version src useDune2;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "cstruct-6.0.0-compat.patch";
|
||||
url = "https://github.com/mirage/mirage-block/pull/49/commits/ff54105b21fb32d0d6977b419db0776e6c2ea166.patch";
|
||||
sha256 = "0bwgypnsyn4d9b46q6r7kh5qfcy58db7krs6z5zw83hc7y20y2sd";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ mirage-block io-page logs ];
|
||||
|
||||
meta = mirage-block.meta // {
|
||||
description = "Block signatures and implementations for MirageOS using Lwt";
|
||||
longDescription = ''
|
||||
This repo contains generic operations over Mirage `BLOCK` devices.
|
||||
This package is specialised to the Lwt concurrency library for IO.
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
24
pkgs/development/ocaml-modules/mirage-block/default.nix
Normal file
24
pkgs/development/ocaml-modules/mirage-block/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, cstruct, lwt, mirage-device
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-block";
|
||||
version = "2.0.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-block/releases/download/v${version}/mirage-block-v${version}.tbz";
|
||||
sha256 = "1wp8wmixaz9i2sbvq6nkx903lbnpdgb2w404pz1wk8kcg9p3ilcc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct lwt mirage-device ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Block signatures and implementations for MirageOS";
|
||||
homepage = "https://github.com/mirage/mirage-block";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue