bfg-repo-cleaner: add passthru.tests.version
This commit is contained in:
parent
8ad7b50bf8
commit
5a4df0c14f
@ -4,6 +4,8 @@
|
||||
fetchurl,
|
||||
jre,
|
||||
makeWrapper,
|
||||
testers,
|
||||
bfg-repo-cleaner,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -29,6 +31,10 @@ stdenv.mkDerivation rec {
|
||||
makeWrapper "${jre}/bin/java" $out/bin/bfg --add-flags "-cp $out/share/java/$jarName com.madgag.git.bfg.cli.Main"
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = bfg-repo-cleaner;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://rtyley.github.io/bfg-repo-cleaner/";
|
||||
# Descriptions taken with minor modification from the homepage of bfg-repo-cleaner
|
||||
|
Loading…
Reference in New Issue
Block a user