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
33
pkgs/development/ocaml-modules/dns/certify.nix
Normal file
33
pkgs/development/ocaml-modules/dns/certify.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ buildDunePackage, dns, dns-tsig, dns-mirage, randomconv, x509
|
||||
, mirage-random, mirage-time, mirage-clock, mirage-stack
|
||||
, logs, mirage-crypto-pk, mirage-crypto-rng, mirage-crypto-ec, lwt
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-certify";
|
||||
|
||||
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dns
|
||||
dns-tsig
|
||||
dns-mirage
|
||||
randomconv
|
||||
x509
|
||||
mirage-random
|
||||
mirage-time
|
||||
mirage-clock
|
||||
mirage-stack
|
||||
logs
|
||||
mirage-crypto-pk
|
||||
mirage-crypto-rng
|
||||
mirage-crypto-ec
|
||||
lwt
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "MirageOS let's encrypt certificate retrieval";
|
||||
};
|
||||
}
|
||||
49
pkgs/development/ocaml-modules/dns/cli.nix
Normal file
49
pkgs/development/ocaml-modules/dns/cli.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ buildDunePackage, dns, dns-tsig, dns-client, dns-server, dns-certify
|
||||
, rresult, bos, cmdliner, fpath, x509, mirage-crypto, mirage-crypto-pk
|
||||
, mirage-crypto-rng, hex, ptime, mtime, logs, fmt, ipaddr, lwt
|
||||
, randomconv, alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-cli";
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
inherit (dns) version src useDune2;
|
||||
|
||||
# no need to propagate as this is primarily
|
||||
# an executable package
|
||||
buildInputs = [
|
||||
dns
|
||||
dns-tsig
|
||||
dns-client
|
||||
dns-server
|
||||
dns-certify
|
||||
rresult
|
||||
bos
|
||||
cmdliner
|
||||
fpath
|
||||
x509
|
||||
mirage-crypto
|
||||
mirage-crypto-pk
|
||||
mirage-crypto-rng
|
||||
hex
|
||||
ptime
|
||||
mtime
|
||||
logs
|
||||
fmt
|
||||
ipaddr
|
||||
lwt
|
||||
randomconv
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
];
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "Unix command line utilities using uDNS";
|
||||
mainProgram = "odns";
|
||||
};
|
||||
}
|
||||
21
pkgs/development/ocaml-modules/dns/client.nix
Normal file
21
pkgs/development/ocaml-modules/dns/client.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-time
|
||||
, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv
|
||||
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-client";
|
||||
inherit (dns) src version;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ cstruct fmt logs dns rresult randomconv domain-name ipaddr
|
||||
ocaml_lwt mirage-stack mirage-random mirage-time mirage-clock
|
||||
mtime mirage-crypto-rng ];
|
||||
checkInputs = [ alcotest ];
|
||||
doCheck = true;
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "Pure DNS resolver API";
|
||||
mainProgram = "dns-client.unix";
|
||||
};
|
||||
}
|
||||
29
pkgs/development/ocaml-modules/dns/default.nix
Normal file
29
pkgs/development/ocaml-modules/dns/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildDunePackage, fetchurl, alcotest
|
||||
, cstruct, domain-name, duration, gmap, ipaddr, logs, lru, metrics, ptime, rresult, astring, fmt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dns";
|
||||
version = "5.0.1";
|
||||
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-v${version}.tbz";
|
||||
sha256 = "72c0a1a91c8e409bd448c8e0ea28d16d13177c326aea403ee1c30ddcb5969adc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ rresult astring fmt logs ptime domain-name gmap cstruct ipaddr lru duration metrics ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
|
||||
meta = {
|
||||
description = "An Domain Name System (DNS) library";
|
||||
homepage = "https://github.com/mirage/ocaml-dns";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
||||
18
pkgs/development/ocaml-modules/dns/mirage.nix
Normal file
18
pkgs/development/ocaml-modules/dns/mirage.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ buildDunePackage, dns, mirage-stack, ipaddr, lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-mirage";
|
||||
|
||||
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dns
|
||||
mirage-stack
|
||||
ipaddr
|
||||
lwt
|
||||
];
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "An opinionated Domain Name System (DNS) library";
|
||||
};
|
||||
}
|
||||
32
pkgs/development/ocaml-modules/dns/resolver.nix
Normal file
32
pkgs/development/ocaml-modules/dns/resolver.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ buildDunePackage, dns, dns-server, dns-mirage, lru, duration
|
||||
, randomconv, lwt, mirage-time, mirage-clock, mirage-random
|
||||
, alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-resolver";
|
||||
|
||||
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dns
|
||||
dns-server
|
||||
dns-mirage
|
||||
lru
|
||||
duration
|
||||
randomconv
|
||||
lwt
|
||||
mirage-time
|
||||
mirage-clock
|
||||
mirage-random
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
];
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "DNS resolver business logic";
|
||||
};
|
||||
}
|
||||
34
pkgs/development/ocaml-modules/dns/server.nix
Normal file
34
pkgs/development/ocaml-modules/dns/server.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ buildDunePackage, dns, dns-mirage, randomconv, duration, lwt
|
||||
, mirage-time, mirage-clock, mirage-stack, metrics
|
||||
, alcotest, mirage-crypto-rng, dns-tsig, base64
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-server";
|
||||
|
||||
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dns
|
||||
dns-mirage
|
||||
randomconv
|
||||
duration
|
||||
lwt
|
||||
mirage-time
|
||||
mirage-clock
|
||||
mirage-stack
|
||||
metrics
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
mirage-crypto-rng
|
||||
dns-tsig
|
||||
base64
|
||||
];
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "DNS server, primary and secondary";
|
||||
};
|
||||
}
|
||||
33
pkgs/development/ocaml-modules/dns/stub.nix
Normal file
33
pkgs/development/ocaml-modules/dns/stub.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ buildDunePackage, dns, dns-client, dns-mirage, dns-resolver, dns-tsig
|
||||
, dns-server, duration, randomconv, lwt, mirage-time, mirage-clock
|
||||
, mirage-random, mirage-stack, metrics
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-stub";
|
||||
|
||||
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dns
|
||||
dns-client
|
||||
dns-mirage
|
||||
dns-resolver
|
||||
dns-tsig
|
||||
dns-server
|
||||
duration
|
||||
randomconv
|
||||
lwt
|
||||
mirage-time
|
||||
mirage-clock
|
||||
mirage-random
|
||||
mirage-stack
|
||||
metrics
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "DNS stub resolver";
|
||||
};
|
||||
}
|
||||
22
pkgs/development/ocaml-modules/dns/tsig.nix
Normal file
22
pkgs/development/ocaml-modules/dns/tsig.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ buildDunePackage, dns, mirage-crypto, base64, alcotest }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-tsig";
|
||||
|
||||
inherit (dns) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mirage-crypto
|
||||
dns
|
||||
base64
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
];
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "TSIG support for DNS";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue