summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/alcotest/default.nix
blob: 68edfca25a8a62a216d136b5e1d9b555f2c43cd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{stdenv, buildOcaml, fetchurl, ounit, re, cmdliner}:

buildOcaml rec {
  name = "alcotest";
  version = "0.3.1";

  src = fetchurl {
    url = "https://github.com/samoht/alcotest/archive/${version}.tar.gz";
    sha256 = "a0e6c9a33c59b206ecc949655fa6e17bdd1078c8b610b14d8f6f0f1b489b0b43";
  };

  propagatedBuildInputs = [ ounit re cmdliner ];

  meta = with stdenv.lib; {
    homepage = https://github.com/samoht/alcotest;
    description = "A lightweight and colourful test framework";
    license = stdenv.lib.licenses.isc;
    maintainers = [ maintainers.ericbmerritt ];
  };
}