blob: 6acf1488d79b7dd03e0f5f8d3eddb59379057ede (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
pname = "colemak-dh";
version = "unstable-2022-08-07";
src = fetchFromGitHub {
owner = "ColemakMods";
repo = "mod-dh";
rev = "e846a5bd24d59ed15ba70b3a9d5363a38ca51d09";
hash = "sha256-RFOpN+tIMfakb7AZN0ock9eq2mytvL0DWedvQV67+ks=";
sparseCheckout = [ "console" ];
};
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 = "Colemak mod for more comfortable typing";
license = licenses.publicDomain;
platforms = platforms.linux;
maintainers = with maintainers; [ monaaraj ];
};
}
|