Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

56 lines
951 B
Nix

{
lib,
fetchurl,
buildDunePackage,
alcotest,
asn1-combinators,
domain-name,
fmt,
gmap,
kdf,
mirage-crypto,
mirage-crypto-ec,
mirage-crypto-pk,
ipaddr,
logs,
base64,
ohex,
}:
buildDunePackage rec {
minimalOCamlVersion = "4.08";
pname = "x509";
version = "1.0.6";
src = fetchurl {
url = "https://github.com/mirleft/ocaml-x509/releases/download/v${version}/x509-${version}.tbz";
hash = "sha256-/IFq4sZei0L6YNkKUHshQEleKNCVrTeyfkwmiuPADWw=";
};
checkInputs = [ alcotest ];
propagatedBuildInputs = [
asn1-combinators
domain-name
fmt
gmap
mirage-crypto
mirage-crypto-pk
mirage-crypto-ec
kdf
logs
base64
ipaddr
ohex
];
doCheck = true;
meta = {
homepage = "https://github.com/mirleft/ocaml-x509";
description = "X509 (RFC5280) handling in OCaml";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vbgl ];
};
}