My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/ocaml-modules/cryptokit/default.nix

35 lines
907 B

{ lib, buildDunePackage, fetchFromGitHub, zlib, dune-configurator, zarith }:
buildDunePackage rec {
pname = "cryptokit";
version = "1.17";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "xavierleroy";
repo = "cryptokit";
rev = "release${lib.replaceStrings ["."] [""] version}";
sha256 = "sha256:1xi7kcigxkfridjas2zwldsfc21wi31cgln071sbmv4agh3dqbyw";
};
# dont do autotools configuration, but do trigger findlib's preConfigure hook
configurePhase = ''
runHook preConfigure
runHook postConfigure
'';
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ zarith zlib ];
doCheck = true;
meta = {
homepage = "http://pauillac.inria.fr/~xleroy/software.html";
description = "A library of cryptographic primitives for OCaml";
license = lib.licenses.lgpl2Only;
maintainers = [
lib.maintainers.maggesi
];
};
}