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
50
pkgs/development/ocaml-modules/cudf/default.nix
Normal file
50
pkgs/development/ocaml-modules/cudf/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, fetchurl, stdenv, ocaml, ocamlbuild, findlib, ocaml_extlib, glib, perl, pkg-config, stdlib-shims, ounit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ocaml${ocaml.version}-cudf";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz";
|
||||
sha256 = "sha256-mTLk2V3OI1sUNIYv84nM3reiirf0AuozG5ZzLCmn4Rw=";
|
||||
};
|
||||
|
||||
buildFlags = [
|
||||
"all"
|
||||
"opt"
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
findlib
|
||||
ocaml
|
||||
ocamlbuild
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
glib
|
||||
perl
|
||||
stdlib-shims
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
ocaml_extlib
|
||||
];
|
||||
|
||||
checkTarget = [
|
||||
"all"
|
||||
"test"
|
||||
];
|
||||
checkInputs = [
|
||||
ounit
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
preInstall = "mkdir -p $OCAMLFIND_DESTDIR";
|
||||
installFlags = "BINDIR=$(out)/bin";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for CUDF format";
|
||||
homepage = "https://www.mancoosi.org/cudf/";
|
||||
downloadPage = "https://gforge.inria.fr/projects/cudf/";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue