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
30
pkgs/development/ocaml-modules/repr/default.nix
Normal file
30
pkgs/development/ocaml-modules/repr/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildDunePackage, fetchurl, base64, either, fmt, jsonm, uutf, optint }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "repr";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-fuzz-${version}.tbz";
|
||||
sha256 = "1y9qnbaxcyxz7bzkkq5lwjrv715mvp2vphzcrd8vbvjhp7df3l1f";
|
||||
};
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
base64
|
||||
either
|
||||
fmt
|
||||
jsonm
|
||||
uutf
|
||||
optint
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dynamic type representations. Provides no stability guarantee";
|
||||
homepage = "https://github.com/mirage/repr";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
||||
23
pkgs/development/ocaml-modules/repr/ppx.nix
Normal file
23
pkgs/development/ocaml-modules/repr/ppx.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, buildDunePackage, ppx_deriving, ppxlib, repr, alcotest, hex }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "ppx_repr";
|
||||
|
||||
inherit (repr) src version useDune2;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ppx_deriving
|
||||
ppxlib
|
||||
repr
|
||||
];
|
||||
|
||||
doCheck = false; # tests fail with ppxlib >= 0.23.0
|
||||
checkInputs = [
|
||||
alcotest
|
||||
hex
|
||||
];
|
||||
|
||||
meta = repr.meta // {
|
||||
description = "PPX deriver for type representations";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue