mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 13:43:50 +00:00
vips: add passthru.tests.version
This commit is contained in:
parent
40d48a14d2
commit
6394c80e24
@ -112,8 +112,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
;
|
;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.pkg-config = testers.hasPkgConfigModules {
|
tests = {
|
||||||
package = finalAttrs.finalPackage;
|
pkg-config = testers.hasPkgConfigModules {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
command = "vips --version";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user