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
43
pkgs/development/ocaml-modules/ppx_import/default.nix
Normal file
43
pkgs/development/ocaml-modules/ppx_import/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, ounit
|
||||
, ppx_deriving
|
||||
, ppx_sexp_conv
|
||||
, ppxlib
|
||||
}:
|
||||
|
||||
lib.throwIfNot (lib.versionAtLeast ppxlib.version "0.24.0")
|
||||
"ppx_import is not available with ppxlib-${ppxlib.version}"
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_import";
|
||||
version = "1.9.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.05";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-ppx/ppx_import/releases/download/${version}/ppx_import-${version}.tbz";
|
||||
sha256 = "1li1f9b1i0yhjy655k74hgzhd05palz726zjbhwcy3iqxvi9id6i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ppxlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
ounit
|
||||
ppx_deriving
|
||||
ppx_sexp_conv
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "A syntax extension for importing declarations from interface files";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/ocaml-ppx/ppx_import";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue