about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/mutest/default.nix
blob: f8e02b65774c5b4173b515a2e59de6e5a465f4f5 (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
35
36
37
38
39
40
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, unstableGitUpdater
}:

stdenv.mkDerivation {
  pname = "mutest";
  version = "0-unstable-2023-02-24";

  outputs = [ "out" "dev" ];

  src = fetchFromGitHub {
    owner = "ebassi";
    repo = "mutest";
    rev = "18a20071773f7c4b75e82a931ef9b916b273b3e5";
    sha256 = "z0kASte0/I48Fgxhblu24MjGHidWomhfFOhfStGtPn4=";
  };

  nativeBuildInputs = [
    meson
    ninja
  ];

  doCheck = true;

  passthru = {
    updateScript = unstableGitUpdater { };
  };

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