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
@ -17,6 +17,7 @@
|
|||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, wlroots
|
, wlroots
|
||||||
, xorg
|
, xorg
|
||||||
|
, gitUpdater
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -71,7 +72,13 @@ in stdenv.mkDerivation rec {
|
|||||||
patchShebangs build-aux/post_install.py
|
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; {
|
meta = with lib; {
|
||||||
description = "Wayland compositor for mobile phones like the Librem 5";
|
description = "Wayland compositor for mobile phones like the Librem 5";
|
||||||
|
Loading…
Reference in New Issue
Block a user