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
35
pkgs/development/ocaml-modules/elina/default.nix
Normal file
35
pkgs/development/ocaml-modules/elina/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, lib, fetchurl, perl, gmp, mpfr, ocaml, findlib, camlidl, apron }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.1";
|
||||
pname = "ocaml${ocaml.version}-elina";
|
||||
src = fetchurl {
|
||||
url = "http://files.sri.inf.ethz.ch/elina-${version}.tar.gz";
|
||||
sha256 = "1nymykskq1yx87y4xl6hl9i4q6kv0qaq25rniqgl1bfn883p1ysc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ocaml findlib camlidl ];
|
||||
|
||||
propagatedBuildInputs = [ apron gmp mpfr ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
prefixKey = "--prefix ";
|
||||
configureFlags = [
|
||||
"--use-apron"
|
||||
"--use-opam"
|
||||
"--apron-prefix" apron
|
||||
]
|
||||
++ lib.optional stdenv.isDarwin "--absolute-dylibs"
|
||||
;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
description = "ETH LIbrary for Numerical Analysis";
|
||||
homepage = "http://elina.ethz.ch/";
|
||||
license = lib.licenses.lgpl3;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue