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
13
pkgs/development/ocaml-modules/resto/acl.nix
Normal file
13
pkgs/development/ocaml-modules/resto/acl.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ lib, buildDunePackage, resto, uri }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-acl";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
minimalOCamlVersion = "4.10";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
uri
|
||||
];
|
||||
}
|
||||
20
pkgs/development/ocaml-modules/resto/cohttp-client.nix
Normal file
20
pkgs/development/ocaml-modules/resto/cohttp-client.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ buildDunePackage
|
||||
, resto
|
||||
, resto-directory
|
||||
, resto-cohttp
|
||||
, uri
|
||||
, lwt
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-cohttp-client";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
resto-directory
|
||||
resto-cohttp
|
||||
uri
|
||||
lwt
|
||||
];
|
||||
}
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, resto
|
||||
, resto-directory
|
||||
, resto-acl
|
||||
, resto-cohttp
|
||||
, resto-cohttp-client
|
||||
, resto-cohttp-server
|
||||
, uri
|
||||
, lwt
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-cohttp-self-serving-client";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
resto-directory
|
||||
resto-acl
|
||||
resto-cohttp
|
||||
resto-cohttp-client
|
||||
resto-cohttp-server
|
||||
uri
|
||||
lwt
|
||||
];
|
||||
}
|
||||
25
pkgs/development/ocaml-modules/resto/cohttp-server.nix
Normal file
25
pkgs/development/ocaml-modules/resto/cohttp-server.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, resto
|
||||
, resto-directory
|
||||
, resto-acl
|
||||
, resto-cohttp
|
||||
, cohttp-lwt-unix
|
||||
, conduit-lwt-unix
|
||||
, lwt
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-cohttp-server";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
resto-directory
|
||||
resto-acl
|
||||
resto-cohttp
|
||||
cohttp-lwt-unix
|
||||
conduit-lwt-unix
|
||||
lwt
|
||||
];
|
||||
}
|
||||
12
pkgs/development/ocaml-modules/resto/cohttp.nix
Normal file
12
pkgs/development/ocaml-modules/resto/cohttp.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ buildDunePackage, resto, resto-directory, cohttp-lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-cohttp";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
resto-directory
|
||||
cohttp-lwt
|
||||
];
|
||||
}
|
||||
26
pkgs/development/ocaml-modules/resto/default.nix
Normal file
26
pkgs/development/ocaml-modules/resto/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchFromGitLab, buildDunePackage, uri }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "resto";
|
||||
version = "0.7";
|
||||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
repo = "resto";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aX7w/rsoOmbni8BOXa0WnoQ47Y5zl91vWvMobuNFT3Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
uri
|
||||
];
|
||||
|
||||
# resto has infinite recursion in their tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A minimal OCaml library for type-safe HTTP/JSON RPCs";
|
||||
homepage = "https://gitlab.com/nomadic-labs/resto";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||
};
|
||||
}
|
||||
11
pkgs/development/ocaml-modules/resto/directory.nix
Normal file
11
pkgs/development/ocaml-modules/resto/directory.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ lib, buildDunePackage, resto, resto-json, lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-directory";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
lwt
|
||||
];
|
||||
}
|
||||
12
pkgs/development/ocaml-modules/resto/json.nix
Normal file
12
pkgs/development/ocaml-modules/resto/json.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, buildDunePackage, resto, json-data-encoding, json-data-encoding-bson }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "resto-json";
|
||||
inherit (resto) src version meta doCheck;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
resto
|
||||
json-data-encoding
|
||||
json-data-encoding-bson
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue