mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nextflow: add a passthru.tests.version
This commit is contained in:
parent
6a1ce54871
commit
e7dac85a81
@ -11,6 +11,7 @@
|
||||
gawk,
|
||||
coreutils,
|
||||
bash,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nextflow";
|
||||
@ -82,6 +83,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--set JAVA_HOME ${openjdk.home}
|
||||
'';
|
||||
|
||||
# versionCheckHook doesn't work as of 2024-09-23.
|
||||
# See https://github.com/NixOS/nixpkgs/pull/339197#issuecomment-2363495060
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "env HOME=$TMPDIR nextflow -version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "DSL for data-driven computational pipelines";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user