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
54
pkgs/development/ocaml-modules/ppx_cstubs/default.nix
Normal file
54
pkgs/development/ocaml-modules/ppx_cstubs/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildDunePackage
|
||||
, bigarray-compat
|
||||
, containers
|
||||
, cppo
|
||||
, ctypes
|
||||
, integers
|
||||
, num
|
||||
, ppxlib
|
||||
, re
|
||||
, findlib
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_cstubs";
|
||||
version = "0.7.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fdopen";
|
||||
repo = "ppx_cstubs";
|
||||
rev = version;
|
||||
sha256 = "sha256-qMmwRWCIfNyhCQYPKLiufnb57sTR3P+WInOqtPDywFs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cppo findlib ];
|
||||
|
||||
buildInputs = [
|
||||
bigarray-compat
|
||||
containers
|
||||
integers
|
||||
num
|
||||
ppxlib
|
||||
re
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ctypes
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/fdopen/ppx_cstubs";
|
||||
changelog = "https://github.com/fdopen/ppx_cstubs/raw/${version}/CHANGES.md";
|
||||
description = "Preprocessor for easier stub generation with ocaml-ctypes";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = [ maintainers.osener ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue