11 stdenv.mkDerivation rec {
17 url = "https://github.com/askimed/nf-test/releases/download/v${version}/nf-test-${version}.tar.gz";
18 hash = "sha256-v7LgbfKdTvQbMcs1ajdKmSQr742YQ0uL4wN79rPV1No=";
22 nativeBuildInputs = [ makeWrapper ];
27 mkdir -p $out/share/nf-test
28 install -Dm644 nf-test.jar $out/share/nf-test
31 makeWrapper ${openjdk11}/bin/java $out/bin/nf-test \
32 --add-flags "-jar $out/share/nf-test/nf-test.jar" \
33 --prefix PATH : ${lib.makeBinPath [ nextflow ]} \
38 passthru.tests.version = testers.testVersion {
40 command = "nf-test version";
44 description = "Simple test framework for Nextflow pipelines";
45 homepage = "https://www.nf-test.com/";
46 changelog = "https://github.com/askimed/nf-test/releases";
47 license = licenses.mit;
48 maintainers = with maintainers; [ rollf ];
49 mainProgram = "nf-test";
50 platforms = platforms.unix;