mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 02:19:30 +03:00
zprint: Add version test
This commit is contained in:
parent
5006421b15
commit
4bef5460b5
@ -3,6 +3,8 @@
|
||||
, graalvmCEPackages
|
||||
, removeReferencesTo
|
||||
, fetchurl
|
||||
, testers
|
||||
, zprint
|
||||
}:
|
||||
|
||||
buildGraalvmNativeImage rec {
|
||||
@ -31,6 +33,12 @@ buildGraalvmNativeImage rec {
|
||||
remove-references-to -t ${graalvmDrv} $out/bin/${pname}
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
inherit version;
|
||||
package = zprint;
|
||||
command = "zprint --version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clojure/EDN source code formatter and pretty printer";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user