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
35
pkgs/development/ocaml-modules/ca-certs/default.nix
Normal file
35
pkgs/development/ocaml-modules/ca-certs/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, buildDunePackage, fetchurl
|
||||
, bos, fpath, ptime, mirage-crypto, x509, astring, logs
|
||||
, cacert, alcotest, fmt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ca-certs";
|
||||
version = "0.2.2";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-v${version}.tbz";
|
||||
sha256 = "sha256-Tx53zBJemZh3ODh/8izahxDoJvXvNFLyAA8LMM1mhlI=";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ bos fpath ptime mirage-crypto x509 astring logs ];
|
||||
|
||||
# Assumes nss-cacert < 3.74 https://github.com/mirage/ca-certs/issues/21
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
cacert # for /etc/ssl/certs/ca-bundle.crt
|
||||
alcotest
|
||||
fmt
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Detect root CA certificates from the operating system";
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
license = licenses.isc;
|
||||
homepage = "https://github.com/mirage/ca-certs";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue