Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9f9134c754f0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bc714f86a515
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 16, 2020

  1. ocamlPackages.ca-certs: init at 0.1.2

    sternenseemann authored and vbgl committed Nov 16, 2020
    Copy the full SHA
    bc714f8 View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/development/ocaml-modules/ca-certs/default.nix
  2. +2 −0 pkgs/top-level/ocaml-packages.nix
29 changes: 29 additions & 0 deletions pkgs/development/ocaml-modules/ca-certs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ lib, buildDunePackage, fetchurl
, bos, fpath, rresult, ptime, mirage-crypto, x509
}:

buildDunePackage rec {
pname = "ca-certs";
version = "0.1.2";

minimumOCamlVersion = "4.07";

src = fetchurl {
url = "https://github.com/mirage/ca-certs/releases/download/v${version}/ca-certs-v${version}.tbz";
sha256 = "10bbqbrsqcmslz56zc5407knalh3kqypbm7lblnzzbidbapa9wpz";
};

useDune2 = true;

propagatedBuildInputs = [ bos fpath rresult ptime mirage-crypto x509 ];

# tests need access to network and systemwide ca cert chain
doCheck = false;

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";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -70,6 +70,8 @@ let

bos = callPackage ../development/ocaml-modules/bos { };

ca-certs = callPackage ../development/ocaml-modules/ca-certs { };

camlidl = callPackage ../development/tools/ocaml/camlidl { };

camlp4 =