2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-08-21 22:20:57 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-21 22:20:57 +01:00
|
|
|
pname = "mutest";
|
2019-08-26 14:02:38 +01:00
|
|
|
version = "unstable-2019-08-26";
|
2019-08-21 22:20:57 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ebassi";
|
|
|
|
repo = "mutest";
|
2019-08-26 14:02:38 +01:00
|
|
|
rev = "e6246c9ae4f36ffe8c021f0a80438f6c7a6efa3a";
|
|
|
|
sha256 = "0gdqwq6fvk06wld4rhnw5752hahrvhd69zrci045x25rwx90x26q";
|
2019-08-21 22:20:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://ebassi.github.io/mutest/mutest.md.html";
|
2019-08-21 22:20:57 +01:00
|
|
|
description = "A BDD testing framework for C, inspired by Mocha";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jtojnar worldofpeace ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|