Merge pull request #299377 from khaneliman/updateScripts
treewide: add passthru.updatescript
This commit is contained in:
commit
a046804e8d
@ -63,6 +63,7 @@
|
||||
, upowerSupport ? true
|
||||
, wireplumberSupport ? true
|
||||
, withMediaPlayer ? mprisSupport && false
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
let
|
||||
@ -189,6 +190,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--prefix PYTHONPATH : "$PYTHONPATH:$out/${python3.sitePackages}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/alexays/waybar";
|
||||
description = "Highly customizable Wayland bar for Sway and Wlroots based compositors";
|
||||
|
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, darwin
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -20,6 +21,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-HxSyGME95FWR5VwodmrMUX0jPlfE9SJV0WBbICuuTok=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "A simple but detailed weather indicator for Waybar using wttr.in";
|
||||
homepage = "https://github.com/bjesus/wttrbar";
|
||||
|
@ -5,6 +5,7 @@
|
||||
, overrideSDK
|
||||
, darwin
|
||||
, testers
|
||||
, nix-update-script
|
||||
}:
|
||||
let
|
||||
stdenv = overrideSDK pkgs.stdenv "11.0";
|
||||
@ -41,9 +42,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "borders-v${finalAttrs.version}";
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "borders-v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, fetchgit
|
||||
, buildGoModule
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
@ -20,6 +21,8 @@ buildGoModule {
|
||||
"-w"
|
||||
];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A waybar component/utility for displaying and controlling MPRIS2 compliant media players individually";
|
||||
homepage = "https://git.hrfee.pw/hrfee/waybar-mpris";
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
@ -26,6 +27,8 @@ stdenvNoCC.mkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Soothing pastel theme for SDDM based on corners theme.";
|
||||
homepage = "https://github.com/khaneliman/sddm-catppuccin-corners";
|
||||
|
@ -11,6 +11,7 @@
|
||||
, MediaRemote
|
||||
, SkyLight
|
||||
, testers
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
let
|
||||
@ -56,9 +57,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "sketchybar-v${finalAttrs.version}";
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "sketchybar-v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -4,6 +4,7 @@
|
||||
, Carbon
|
||||
, Cocoa
|
||||
, testers
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -34,9 +35,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace $out/Library/LaunchDaemons/org.nixos.skhd.plist --subst-var out
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "skhd-v${finalAttrs.version}";
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "skhd-v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -14,6 +14,7 @@
|
||||
, util-linux
|
||||
, wrapQtAppsHook
|
||||
, enableSnapper ? true
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -78,6 +79,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--prefix PATH : ${runtimeDeps}"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "A GUI management tool to make managing a Btrfs filesystem easier";
|
||||
homepage = "https://gitlab.com/btrfs-assistant/btrfs-assistant";
|
||||
|
@ -3,6 +3,7 @@
|
||||
, dooit
|
||||
, python3
|
||||
, testers
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
@ -39,9 +40,13 @@ python3.pkgs.buildPythonApplication rec {
|
||||
# No tests available
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = dooit;
|
||||
command = "HOME=$(mktemp -d) dooit --version";
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = dooit;
|
||||
command = "HOME=$(mktemp -d) dooit --version";
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user