mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
veilid: add updateScript (#336958)
This commit is contained in:
commit
5afd158e4c
@ -9,6 +9,7 @@
|
|||||||
, cmake
|
, cmake
|
||||||
, testers
|
, testers
|
||||||
, veilid
|
, veilid
|
||||||
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -54,9 +55,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
moveToOutput "lib" "$lib"
|
moveToOutput "lib" "$lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = {
|
passthru = {
|
||||||
veilid-version = testers.testVersion {
|
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||||
package = veilid;
|
tests = {
|
||||||
|
veilid-version = testers.testVersion {
|
||||||
|
package = veilid;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user