mpvScripts.inhibit-gnome: Add updateScript
This commit is contained in:
parent
4c968b4204
commit
b0a5637c9e
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, pkg-config, dbus, mpv-unwrapped }:
|
{ lib, stdenv, fetchFromGitHub, gitUpdater, pkg-config, dbus, mpv-unwrapped }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mpv-inhibit-gnome";
|
pname = "mpv-inhibit-gnome";
|
||||||
@ -10,6 +10,9 @@ stdenv.mkDerivation rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-LSGg5gAQE2JpepBqhz6D6d3NlqYaU4bjvYf1F+oLphQ=";
|
hash = "sha256-LSGg5gAQE2JpepBqhz6D6d3NlqYaU4bjvYf1F+oLphQ=";
|
||||||
};
|
};
|
||||||
|
passthru.updateScript = gitUpdater {
|
||||||
|
rev-prefix = "v";
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user