phoc: add passthru.updateScript
updateScript is documented at https://nixos.org/manual/nixpkgs/unstable/#var-passthru-updateScript
This commit is contained in:
parent
82ec4173ce
commit
ad51bcc62a
1 changed files with 8 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
, libxkbcommon
|
||||
, wlroots
|
||||
, xorg
|
||||
, gitUpdater
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
|
@ -71,7 +72,13 @@ in stdenv.mkDerivation rec {
|
|||
patchShebangs build-aux/post_install.py
|
||||
'';
|
||||
|
||||
passthru.tests.phosh = nixosTests.phosh;
|
||||
passthru = {
|
||||
tests.phosh = nixosTests.phosh;
|
||||
updateScript = gitUpdater {
|
||||
url = "https://gitlab.gnome.org/World/Phosh/phoc";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wayland compositor for mobile phones like the Librem 5";
|
||||
|
|
Loading…
Reference in a new issue