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
26
pkgs/development/ocaml-modules/graphql/cohttp.nix
Normal file
26
pkgs/development/ocaml-modules/graphql/cohttp.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildDunePackage, ocaml-crunch
|
||||
, astring, cohttp, digestif, graphql, ocplib-endian
|
||||
, alcotest, cohttp-lwt-unix, graphql-lwt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql-cohttp";
|
||||
|
||||
inherit (graphql) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
nativeBuildInputs = [ ocaml-crunch ];
|
||||
propagatedBuildInputs = [ astring cohttp digestif graphql ocplib-endian ];
|
||||
|
||||
checkInputs = lib.optionals doCheck [ alcotest cohttp-lwt-unix graphql-lwt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = graphql.meta // {
|
||||
description = "Run GraphQL servers with “cohttp”";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
18
pkgs/development/ocaml-modules/graphql/default.nix
Normal file
18
pkgs/development/ocaml-modules/graphql/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql";
|
||||
|
||||
inherit (graphql_parser) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ graphql_parser rresult yojson ];
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = graphql_parser.meta // {
|
||||
description = "Build GraphQL schemas and execute queries against them";
|
||||
};
|
||||
|
||||
}
|
||||
19
pkgs/development/ocaml-modules/graphql/lwt.nix
Normal file
19
pkgs/development/ocaml-modules/graphql/lwt.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ buildDunePackage, alcotest, graphql, ocaml_lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql-lwt";
|
||||
|
||||
inherit (graphql) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ graphql ocaml_lwt ];
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = graphql.meta // {
|
||||
description = "Build GraphQL schemas with Lwt support";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
30
pkgs/development/ocaml-modules/graphql/parser.nix
Normal file
30
pkgs/development/ocaml-modules/graphql/parser.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildDunePackage, fetchurl, alcotest, fmt, menhir, re }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql_parser";
|
||||
version = "0.13.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
|
||||
sha256 = "0gb5y99ph0nz5y3pc1gxq1py4wji2hyf2ydbp0hv23v00n50hpsm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ menhir ];
|
||||
propagatedBuildInputs = [ fmt re ];
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/andreas/ocaml-graphql-server";
|
||||
description = "Library for parsing GraphQL queries";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue