mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
78fd3c49cc
commit
e56d772fd0
1 changed files with 13 additions and 7 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue