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
30
pkgs/development/ocaml-modules/odoc/default.nix
Normal file
30
pkgs/development/ocaml-modules/odoc/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, fetchurl, buildDunePackage, ocaml
|
||||
, astring, cmdliner, cppo, fpath, result, tyxml
|
||||
, markup, alcotest, yojson, sexplib, jq
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "odoc";
|
||||
version = "1.5.3";
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml/odoc/releases/download/${version}/odoc-${version}.tbz";
|
||||
sha256 = "0idzidmz7y10xkwcf4aih0mdvkipxk1gzi4anhnbbi2q2s0nzdzj";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
buildInputs = [ astring cmdliner cppo fpath result tyxml ];
|
||||
|
||||
checkInputs = [ alcotest markup yojson sexplib jq ];
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.05";
|
||||
|
||||
meta = {
|
||||
description = "A documentation generator for OCaml";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
homepage = "https://github.com/ocaml/odoc";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue