https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
14 lines
291 B
Nix
14 lines
291 B
Nix
{ buildDunePackage, junit, alcotest }:
|
|
|
|
buildDunePackage ({
|
|
pname = "junit_alcotest";
|
|
|
|
inherit (junit) src version meta useDune2;
|
|
|
|
propagatedBuildInputs = [
|
|
junit
|
|
alcotest
|
|
];
|
|
|
|
doCheck = false; # 2 tests fail: 1) "Test with unexpected exception"; 2) "with wrong result";
|
|
})
|