nixpkgs/pkgs/development/ocaml-modules/sha/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
673 B
Nix
Raw Normal View History

2022-12-08 06:20:52 +00:00
{ lib, fetchurl, buildDunePackage, stdlib-shims, ounit2 }:
2021-01-28 11:21:47 +00:00
buildDunePackage rec {
pname = "sha";
2022-12-08 06:20:52 +00:00
version = "1.15.2";
duneVersion = "3";
2021-01-28 11:21:47 +00:00
src = fetchurl {
2022-12-08 06:20:52 +00:00
url = "https://github.com/djs55/ocaml-${pname}/releases/download/${version}/${pname}-${version}.tbz";
hash = "sha256-P71Xs5p8QAaOtBrh7MuhQJOL6144BqTLvXlZOyGD/7c=";
2021-01-28 11:21:47 +00:00
};
2021-06-06 10:50:06 +00:00
propagatedBuildInputs = [
stdlib-shims
];
2021-01-28 11:21:47 +00:00
doCheck = true;
2021-06-06 10:50:06 +00:00
checkInputs = [
2022-12-08 06:20:52 +00:00
ounit2
2021-06-06 10:50:06 +00:00
];
2021-01-28 11:21:47 +00:00
meta = with lib; {
description = "Binding for SHA interface code in OCaml";
2021-06-06 10:50:06 +00:00
homepage = "https://github.com/djs55/ocaml-sha/";
2021-01-28 11:21:47 +00:00
license = licenses.isc;
2021-06-06 10:50:06 +00:00
maintainers = with maintainers; [ arthurteisseire ];
2021-01-28 11:21:47 +00:00
};
}