2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "colemak-dh";
|
|
|
|
version = "unstable-2022-08-07";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ColemakMods";
|
2023-02-02 18:25:31 +00:00
|
|
|
repo = "mod-dh";
|
2022-08-21 13:32:41 +00:00
|
|
|
rev = "e846a5bd24d59ed15ba70b3a9d5363a38ca51d09";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-RFOpN+tIMfakb7AZN0ock9eq2mytvL0DWedvQV67+ks=";
|
2022-11-27 09:42:12 +00:00
|
|
|
sparseCheckout = [ "console" ];
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/keymaps/i386/
|
|
|
|
gzip -r ./console
|
|
|
|
cp -r ./console $out/share/keymaps/i386/colemak
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://colemakmods.github.io/mod-dh";
|
|
|
|
description = "A Colemak mod for more comfortable typing";
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ monaaraj ];
|
|
|
|
};
|
|
|
|
}
|