spotify: set passthru.updateScript
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
meta,
|
||||
fetchurl,
|
||||
undmg,
|
||||
updateScript,
|
||||
lib,
|
||||
}:
|
||||
|
||||
@@ -37,7 +38,12 @@ stdenv.mkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = { inherit updateScript; };
|
||||
|
||||
meta = meta // {
|
||||
maintainers = with lib.maintainers; [ matteopacini ];
|
||||
maintainers = with lib.maintainers; [
|
||||
matteopacini
|
||||
Enzime
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
# High-DPI support: Spotify's --force-device-scale-factor argument
|
||||
# not added if `null`, otherwise, should be a number.
|
||||
deviceScaleFactor ? null,
|
||||
updateScript,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -227,6 +228,8 @@ stdenv.mkDerivation {
|
||||
runHook postFixup
|
||||
'';
|
||||
|
||||
passthru = { inherit updateScript; };
|
||||
|
||||
meta = meta // {
|
||||
maintainers = with lib.maintainers; [
|
||||
ftrvxmtrx
|
||||
|
||||
@@ -10,6 +10,8 @@ let
|
||||
|
||||
pname = "spotify";
|
||||
|
||||
updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.spotify.com/";
|
||||
description = "Play music from the Spotify music service";
|
||||
@@ -25,6 +27,6 @@ let
|
||||
|
||||
in
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
callPackage ./darwin.nix (extraArgs // { inherit pname meta; })
|
||||
callPackage ./darwin.nix (extraArgs // { inherit pname updateScript meta; })
|
||||
else
|
||||
callPackage ./linux.nix (extraArgs // { inherit pname meta; })
|
||||
callPackage ./linux.nix (extraArgs // { inherit pname updateScript meta; })
|
||||
|
||||
Reference in New Issue
Block a user