mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
2bd86e9e47
Reason: https://github.com/NixOS/nixpkgs/pull/20090#commitcomment-19686426 This reverts commit9ffcb1b250
, reversing changes made toa6283c1126
.
29 lines
806 B
Nix
29 lines
806 B
Nix
{ stdenv, fetchzip, ocaml, findlib, asn1-combinators, nocrypto, ounit }:
|
|
|
|
let version = "0.5.0"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-x509-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/mirleft/ocaml-x509/archive/${version}.tar.gz";
|
|
sha256 = "0i9618ph4i2yk5dvvhiqhm7wf3qmd6b795mxwff8jf856gb2gdyn";
|
|
};
|
|
|
|
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 or [];
|
|
license = stdenv.lib.licenses.bsd2;
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|