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
33
pkgs/development/ocaml-modules/ocplib-simplex/default.nix
Normal file
33
pkgs/development/ocaml-modules/ocplib-simplex/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, ocaml, findlib }:
|
||||
|
||||
let
|
||||
pname = "ocplib-simplex";
|
||||
version = "0.4";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OCamlPro-Iguernlala";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "09niyidrjzrj8g1qwx4wgsdf5m6cwrnzg7zsgala36jliic4di60";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ocaml findlib ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
description = "An OCaml library implementing a simplex algorithm, in a functional style, for solving systems of linear inequalities";
|
||||
homepage = "https://github.com/OCamlPro-Iguernlala/ocplib-simplex";
|
||||
inherit (ocaml.meta) platforms;
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue