1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/ocaml-modules/digestif/default.nix

27 lines
683 B
Nix
Raw Normal View History

2019-10-07 07:48:15 +01:00
{ lib, fetchurl, buildDunePackage
, bigarray-compat, eqaf, stdlib-shims
, alcotest
}:
2019-10-07 07:48:15 +01:00
buildDunePackage rec {
pname = "digestif";
version = "0.8.0";
src = fetchurl {
2019-10-07 07:48:15 +01:00
url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-v${version}.tbz";
sha256 = "09g4zngqiw97cljv8ds4m063wcxz3y7c7vzaprsbpjzi0ja5jdcy";
};
2019-10-07 07:48:15 +01:00
buildInputs = lib.optional doCheck alcotest;
propagatedBuildInputs = [ bigarray-compat eqaf stdlib-shims ];
2019-10-07 07:48:15 +01:00
doCheck = true;
meta = {
description = "Simple hash algorithms in OCaml";
homepage = "https://github.com/mirage/digestif";
2019-10-07 07:48:15 +01:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}