Merge pull request #108969 from lourkeur/update/xpra
This commit is contained in:
commit
ebd22859f2
@ -30,11 +30,11 @@ let
|
|||||||
|
|
||||||
in buildPythonApplication rec {
|
in buildPythonApplication rec {
|
||||||
pname = "xpra";
|
pname = "xpra";
|
||||||
version = "4.0.2";
|
version = "4.0.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://xpra.org/src/${pname}-${version}.tar.xz";
|
url = "https://xpra.org/src/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1cs39jzi59hkl421xmhi549ndmdfzkg0ap45f4nlsn9zr9zwmp3x";
|
sha256 = "nGcvbZFGYd2nQ75LL4YN+xcWb7UsViA3OAqpcrTwieg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -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/";
|
||||||
|
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…
x
Reference in New Issue
Block a user