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>
21 lines
348 B
Nix
21 lines
348 B
Nix
{ buildDunePackage
|
|
, alcotest, cmdliner, irmin, metrics-unix, mtime, irmin-layers
|
|
}:
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "irmin-test";
|
|
|
|
inherit (irmin) version src;
|
|
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [
|
|
alcotest cmdliner irmin metrics-unix mtime irmin-layers
|
|
];
|
|
|
|
meta = irmin.meta // {
|
|
description = "Irmin test suite";
|
|
};
|
|
|
|
}
|