2024-07-06 16:33:52 -06:00
|
|
|
{
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
2024-05-20 17:14:39 -06:00
|
|
|
}:
|
|
|
|
|
2024-07-06 16:33:52 -06:00
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2024-05-20 17:14:39 -06:00
|
|
|
pname = "qwerty-fr";
|
|
|
|
version = "0.7.3";
|
|
|
|
|
2024-07-06 16:33:52 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qwerty-fr";
|
|
|
|
repo = "qwerty-fr";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2024-09-14 15:47:11 -06:00
|
|
|
hash = "sha256-TD67wKdaPaXzJzjKFCfRZl3WflUfdnUSQl/fnjr9TF8=";
|
2024-05-20 17:14:39 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2024-07-06 16:33:52 -06:00
|
|
|
mkdir -p $out/share/X11/xkb/symbols
|
|
|
|
cp $src/linux/us_qwerty-fr $out/share/X11/xkb/symbols
|
2024-05-20 17:14:39 -06:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Qwerty keyboard layout with French accents";
|
2024-07-06 16:33:52 -06:00
|
|
|
changelog = "https://github.com/qwerty-fr/qwerty-fr/blob/v${finalAttrs.version}/linux/debian/changelog";
|
2024-05-20 17:14:39 -06:00
|
|
|
homepage = "https://github.com/qwerty-fr/qwerty-fr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ potb ];
|
|
|
|
};
|
2024-07-06 16:33:52 -06:00
|
|
|
})
|