Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
924 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildDunePackage, fetchFromGitHub, zlib, dune-configurator, zarith,}:
buildDunePackage rec { pname = "cryptokit"; version = "1.20.1";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub { owner = "xavierleroy"; repo = "cryptokit"; rev = "release${lib.replaceStrings [ "." ] [ "" ] version}"; hash = "sha256-VFY10jGctQfIUVv7dK06KP8zLZHLXTxvLyTCObS+W+E="; };
# 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 = "Library of cryptographic primitives for OCaml"; license = lib.licenses.lgpl2Only; maintainers = [ lib.maintainers.maggesi ]; };}