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
18
pkgs/development/ocaml-modules/atdgen/codec-runtime.nix
Normal file
18
pkgs/development/ocaml-modules/atdgen/codec-runtime.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ lib, buildDunePackage, fetchurl }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "atdgen-codec-runtime";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ahrefs/atd/releases/download/${version}/atdgen-codec-runtime-${version}.tbz";
|
||||
sha256 = "sha256:16888rnvhgh5yxxsnzsj10g5pzs1l4dn27n23kk2f4641dn26s3a";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Runtime for atdgen generated bucklescript converters";
|
||||
homepage = "https://github.com/ahrefs/atd";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
17
pkgs/development/ocaml-modules/atdgen/default.nix
Normal file
17
pkgs/development/ocaml-modules/atdgen/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ buildDunePackage, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, biniou, re, yojson }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "atdgen";
|
||||
inherit (atdgen-codec-runtime) version src;
|
||||
|
||||
buildInputs = [ atd re ];
|
||||
|
||||
propagatedBuildInputs = [ atdgen-runtime ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest atdgen-codec-runtime ];
|
||||
|
||||
meta = (builtins.removeAttrs atd.meta [ "mainProgram" ]) // {
|
||||
description = "Generates efficient JSON serializers, deserializers and validators";
|
||||
};
|
||||
}
|
||||
15
pkgs/development/ocaml-modules/atdgen/runtime.nix
Normal file
15
pkgs/development/ocaml-modules/atdgen/runtime.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ buildDunePackage, atdgen-codec-runtime, biniou, camlp-streams, yojson }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "atdgen-runtime";
|
||||
inherit (atdgen-codec-runtime) version src;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [ biniou camlp-streams yojson ];
|
||||
|
||||
meta = atdgen-codec-runtime.meta // {
|
||||
description = "Runtime library for code generated by atdgen";
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue