xautocfg: init at 1.2 (#335733)

Co-authored-by: Yohann Boniface <edhyjox@gmail.com>
Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
Jan Christoph Ebersbach 2024-11-30 16:25:53 +01:00 committed by GitHub
parent cbac36aa93
commit b99389f02d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,38 @@
{
lib,
stdenv,
fetchFromGitHub,
libX11,
libXi,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xautocfg";
version = "1.2";
src = fetchFromGitHub {
owner = "SFTtech";
repo = "xautocfg";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-NxfuBknNRicmEAPBeMaNb57gpM0y0t+JmNMKpSNzlQM=";
};
buildInputs = [
libX11
libXi
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"MANPREFIX=${placeholder "out"}"
];
meta = {
homepage = "https://github.com/SFTtech/xautocfg";
description = "Automatic keyboard repeat rate configuration for new keyboards";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ jceb ];
mainProgram = "xautocfg";
platforms = lib.platforms.linux;
};
})