mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
ocaml-x509: init at 0.4.0
X.509 (RFC5280 and RFC6125) handling in OCaml. Homepage: https://github.com/mirleft/ocaml-x509
This commit is contained in:
parent
270062dbb3
commit
dd6a98b42a
28
pkgs/development/ocaml-modules/x509/default.nix
Normal file
28
pkgs/development/ocaml-modules/x509/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchzip, ocaml, findlib, asn1-combinators, nocrypto, ounit }:
|
||||
|
||||
let version = "0.4.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-x509-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirleft/ocaml-x509/archive/${version}.tar.gz";
|
||||
sha256 = "0z4c19y625ipx2anpq25pzly1fdi3cklhk130kriybrczvmd2b29";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ounit ];
|
||||
propagatedBuildInputs = [ asn1-combinators nocrypto ];
|
||||
|
||||
configureFlags = "--enable-tests";
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/mirleft/ocaml-x509;
|
||||
description = "X509 (RFC5280) handling in OCaml";
|
||||
platforms = ocaml.meta.platforms;
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
@ -4656,6 +4656,8 @@ let
|
||||
|
||||
vg = callPackage ../development/ocaml-modules/vg { };
|
||||
|
||||
x509 = callPackage ../development/ocaml-modules/x509 { };
|
||||
|
||||
xmlm = callPackage ../development/ocaml-modules/xmlm { };
|
||||
|
||||
xml-light = callPackage ../development/ocaml-modules/xml-light { };
|
||||
|
Loading…
Reference in New Issue
Block a user