about summary refs log tree commit diff
path: root/pkgs/development/libraries/mutest/default.nix
blob: b247706067e7f656fbaa867e4918cf3d8bbf1bf0 (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
{ stdenv
, fetchFromGitHub
, meson
, ninja
}:

stdenv.mkDerivation rec {
  pname = "mutest";
  version = "unstable-2019-10-12";

  outputs = [ "out" "dev" ];

  src = fetchFromGitHub {
    owner = "ebassi";
    repo = "mutest";
    rev = "822b5ddf07f957135ba39889d81e513d525b9b8e";
    sha256 = "0a5fjdq9p0q5bibqngbbpd9lga0gzrv8yj5wgdfb8ylxzg0jph2p";
  };

  nativeBuildInputs = [
    meson
    ninja
  ];

  doCheck = true;

  meta = with stdenv.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 worldofpeace ];
    platforms = platforms.all;
  };
}