Merge pull request #108969 from lourkeur/update/xpra
This commit is contained in:
commit
ebd22859f2
2 changed files with 11 additions and 3 deletions
|
@ -30,11 +30,11 @@ let
|
|||
|
||||
in buildPythonApplication rec {
|
||||
pname = "xpra";
|
||||
version = "4.0.2";
|
||||
version = "4.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://xpra.org/src/${pname}-${version}.tar.xz";
|
||||
sha256 = "1cs39jzi59hkl421xmhi549ndmdfzkg0ap45f4nlsn9zr9zwmp3x";
|
||||
sha256 = "nGcvbZFGYd2nQ75LL4YN+xcWb7UsViA3OAqpcrTwieg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -110,7 +110,10 @@ in buildPythonApplication rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = { inherit xf86videodummy; };
|
||||
passthru = {
|
||||
inherit xf86videodummy;
|
||||
updateScript = ./update.sh;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "http://xpra.org/";
|
||||
|
|
5
pkgs/tools/X11/xpra/update.sh
Executable file
5
pkgs/tools/X11/xpra/update.sh
Executable file
|
@ -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 a new issue