keyd: 2.4.3 -> 2.5.0 (#344912)

This commit is contained in:
Franz Pletz 2024-09-28 15:28:20 +02:00 committed by GitHub
commit 586d22803f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 7 deletions

View File

@ -1016,6 +1016,12 @@
githubId = 50754358;
name = "Alex Winter";
};
alfarel = {
email = "alfarelcynthesis@proton.me";
github = "alfarelcynthesis";
githubId = 104072649;
name = "Cynth";
};
algram = {
email = "aliasgram@gmail.com";
github = "Algram";

View File

@ -8,13 +8,13 @@
}:
let
version = "2.4.3";
version = "2.5.0";
src = fetchFromGitHub {
owner = "rvaiya";
repo = "keyd";
rev = "v" + version;
hash = "sha256-NhZnFIdK0yHgFR+rJm4cW+uEhuQkOpCSLwlXNQy6jas=";
hash = "sha256-pylfQjTnXiSzKPRJh9Jli1hhin/MIGIkZxLKxqlReVo=";
};
pypkgs = python3.pkgs;
@ -26,7 +26,7 @@ let
postPatch = ''
substituteInPlace scripts/${pname} \
--replace /bin/sh ${runtimeShell}
--replace-fail /bin/sh ${runtimeShell}
'';
propagatedBuildInputs = with pypkgs; [ xlib ];
@ -47,10 +47,10 @@ stdenv.mkDerivation {
postPatch = ''
substituteInPlace Makefile \
--replace /usr ""
--replace-fail /usr/local ""
substituteInPlace keyd.service \
--replace /usr/bin $out/bin
substituteInPlace keyd.service.in \
--replace-fail @PREFIX@ $out
'';
installFlags = [ "DESTDIR=${placeholder "out"}" ];
@ -72,7 +72,7 @@ stdenv.mkDerivation {
meta = with lib; {
description = "Key remapping daemon for Linux";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
maintainers = with maintainers; [ alfarel ];
platforms = platforms.linux;
};
}