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
16
pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
Normal file
16
pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ buildDunePackage, ocaml_gettext, camomile, ounit, fileutils }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "gettext-camomile";
|
||||
inherit (ocaml_gettext) src version useDune2;
|
||||
|
||||
propagatedBuildInputs = [ camomile ocaml_gettext ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ ounit fileutils ];
|
||||
|
||||
meta = (builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ]) // {
|
||||
description = "Internationalization library using camomile (i18n)";
|
||||
};
|
||||
|
||||
}
|
||||
33
pkgs/development/ocaml-modules/ocaml-gettext/default.nix
Normal file
33
pkgs/development/ocaml-modules/ocaml-gettext/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, fetchurl, buildDunePackage, cppo, gettext, fileutils, ounit }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "gettext";
|
||||
version = "0.4.2";
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
|
||||
sha256 = "19ynsldb21r539fiwz1f43apsdnx7hj2a2d9qr9wg2hva9y2qrwb";
|
||||
};
|
||||
|
||||
buildInputs = [ cppo ];
|
||||
|
||||
propagatedBuildInputs = [ gettext fileutils ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "OCaml Bindings to gettext";
|
||||
homepage = "https://github.com/gildor478/ocaml-gettext";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [ maintainers.volth ];
|
||||
mainProgram = "ocaml-gettext";
|
||||
};
|
||||
}
|
||||
18
pkgs/development/ocaml-modules/ocaml-gettext/stub.nix
Normal file
18
pkgs/development/ocaml-modules/ocaml-gettext/stub.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ buildDunePackage, ocaml_gettext, dune-configurator, ounit }:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "gettext-stub";
|
||||
|
||||
inherit (ocaml_gettext) src version useDune2;
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
|
||||
propagatedBuildInputs = [ ocaml_gettext ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue