xpra: add update script
This commit is contained in:
parent
c23468489c
commit
a129a5e2d9
|
@ -110,7 +110,10 @@ in buildPythonApplication rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru = { inherit xf86videodummy; };
|
passthru = {
|
||||||
|
inherit xf86videodummy;
|
||||||
|
updateScript = ./update.sh;
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://xpra.org/";
|
homepage = "http://xpra.org/";
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p curl perl common-updater-scripts
|
||||||
|
|
||||||
|
version=$(curl https://xpra.org/src/ | perl -ne 'print "$1\n" if /xpra-([[:digit:].]+)\./' | sort -V | tail -n1)
|
||||||
|
update-source-version xpra "$version"
|
Loading…
Reference in New Issue