summary refs log tree commit diff
path: root/pkgs/development/libraries/mutest/default.nix
blob: f2d3a55955303d90ad7812bace9f3439a431ae60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib, stdenv
, fetchFromGitHub
, meson
, ninja
}:

stdenv.mkDerivation {
  pname = "mutest";
  version = "unstable-2019-08-26";

  outputs = [ "out" "dev" ];

  src = fetchFromGitHub {
    owner = "ebassi";
    repo = "mutest";
    rev = "e6246c9ae4f36ffe8c021f0a80438f6c7a6efa3a";
    sha256 = "0gdqwq6fvk06wld4rhnw5752hahrvhd69zrci045x25rwx90x26q";
  };

  nativeBuildInputs = [
    meson
    ninja
  ];

  doCheck = true;

  meta = with lib; {
    homepage = "https://ebassi.github.io/mutest/mutest.md.html";
    description = "A BDD testing framework for C, inspired by Mocha";
    license = licenses.mit;
    maintainers = with maintainers; [ jtojnar ];
    platforms = platforms.all;
  };
}