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
32
pkgs/development/ocaml-modules/gapi-ocaml/default.nix
Normal file
32
pkgs/development/ocaml-modules/gapi-ocaml/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage, ocaml
|
||||
, cryptokit, ocamlnet, ocurl, yojson
|
||||
, ounit
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "gapi-ocaml";
|
||||
version = "0.4.2";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astrada";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-imicHOlNjPHHW/lcWRJmURafYZFe/6J3efKPJcel8J8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.04";
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
meta = {
|
||||
description = "OCaml client for google services";
|
||||
homepage = "http://gapi-ocaml.forge.ocamlcore.org";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bennofs ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue