1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/alcotest/default.nix

27 lines
797 B
Nix
Raw Normal View History

2016-10-25 18:32:16 +01:00
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, topkg, opam, cmdliner, astring, fmt, result }:
2016-10-25 18:32:16 +01:00
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-alcotest-${version}";
version = "0.7.2";
2015-10-13 02:46:01 +01:00
src = fetchzip {
url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz";
2016-10-25 18:32:16 +01:00
sha256 = "1qgsz2zz5ky6s5pf3j3shc4fjc36rqnjflk8x0wl1fcpvvkr52md";
};
2016-10-25 18:32:16 +01:00
buildInputs = [ ocaml findlib ocamlbuild opam topkg ];
propagatedBuildInputs = [ cmdliner astring fmt result ];
inherit (topkg) buildPhase installPhase;
createFindlibDestdir = true;
meta = with stdenv.lib; {
2015-10-13 02:46:01 +01:00
homepage = https://github.com/mirage/alcotest;
description = "A lightweight and colourful test framework";
license = stdenv.lib.licenses.isc;
maintainers = [ maintainers.ericbmerritt ];
};
}