xcape: unstable-2018-03-01 -> 1.2

Upstream repo owner deleted the GitHub account, switch to the version maintained in Debian
This commit is contained in:
7c6f434c 2026-05-25 14:16:35 +02:00
commit e56d772fd0

View file

@ -1,7 +1,8 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchurl,
fetchpatch,
pkg-config,
libx11,
libxtst,
@ -11,15 +12,20 @@
stdenv.mkDerivation {
pname = "xcape";
version = "unstable-2018-03-01";
version = "1.2";
src = fetchFromGitHub {
owner = "alols";
repo = "xcape";
rev = "a34d6bae27bbd55506852f5ed3c27045a3c0bd9e";
sha256 = "04grs4w9kpfzz25mqw82zdiy51g0w355gpn5b170p7ha5972ykc8";
src = fetchurl {
url = "http://deb.debian.org/debian/pool/main/x/xcape/xcape_1.2.orig.tar.gz";
hash = "sha256-on7YhP2U8DBYr2Wjnt/jrz8vj7t2upkgACp2vgf7KCE=";
};
patches = [
(fetchpatch {
url = "https://sources.debian.org/data/main/x/xcape/1.2-3/debian/patches/0001-Fix-cross-building-by-removing-hard-coded-pkg-config.patch";
hash = "sha256-uQNy7EIQdAO5iHYNA2pBoDltNrn1xrfAAjN/ZdGGa4s=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [