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
29
pkgs/development/ocaml-modules/printbox/default.nix
Normal file
29
pkgs/development/ocaml-modules/printbox/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "printbox";
|
||||
version = "0.6.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c-cube";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7u2ThRhM3vW4ItcFsK4ycgcaW0JcQOFoZZRq2kqbl+k=";
|
||||
};
|
||||
|
||||
checkInputs = [ mdx.bin ];
|
||||
|
||||
# mdx is not available for OCaml < 4.08
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/c-cube/printbox/";
|
||||
description = "Allows to print nested boxes, lists, arrays, tables in several formats";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
14
pkgs/development/ocaml-modules/printbox/text.nix
Normal file
14
pkgs/development/ocaml-modules/printbox/text.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ buildDunePackage, printbox, uucp, uutf, mdx }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "printbox-text";
|
||||
inherit (printbox) src version useDune2 doCheck;
|
||||
|
||||
propagatedBuildInputs = [ printbox uucp uutf ];
|
||||
|
||||
checkInputs = [ mdx.bin ];
|
||||
|
||||
meta = printbox.meta // {
|
||||
description = "Text renderer for printbox, using unicode edges";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue