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
37
pkgs/development/ocaml-modules/piqi-ocaml/default.nix
Normal file
37
pkgs/development/ocaml-modules/piqi-ocaml/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, piqi, stdlib-shims, num }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.7";
|
||||
pname = "piqi-ocaml";
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alavrik";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1913jpsb8mvqi8609j4g4sm5jhg50dq0xqxgy8nmvknfryyc89nm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ];
|
||||
buildInputs = [ piqi stdlib-shims ];
|
||||
|
||||
checkInputs = [ num ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
DESTDIR=$out make install
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings";
|
||||
homepage = "https://piqi.org";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.maurer ];
|
||||
mainProgram = "piqic-ocaml";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue