1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/development/ocaml-modules/sha/default.nix
2021-12-08 19:29:09 +00:00

30 lines
674 B
Nix

{ lib, fetchurl, buildDunePackage, stdlib-shims, ounit }:
buildDunePackage rec {
pname = "sha";
version = "1.15.1";
src = fetchurl {
url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "sha256-cRtjydvwgXgimi6F3C48j7LrWgfMO6m9UJKjKlxvp0Q=";
};
useDune2 = true;
propagatedBuildInputs = [
stdlib-shims
];
doCheck = true;
checkInputs = [
ounit
];
meta = with lib; {
description = "Binding for SHA interface code in OCaml";
homepage = "https://github.com/djs55/ocaml-sha/";
license = licenses.isc;
maintainers = with maintainers; [ arthurteisseire ];
};
}