mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
colemak-dh: init at unstable-2022-08-07
This commit is contained in:
parent
3ddd0f9002
commit
9f1da18a1e
37
pkgs/data/misc/colemak-dh/default.nix
Normal file
37
pkgs/data/misc/colemak-dh/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "colemak-dh";
|
||||
version = "unstable-2022-08-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ColemakMods";
|
||||
repo = "mod-dh";
|
||||
rev = "e846a5bd24d59ed15ba70b3a9d5363a38ca51d09";
|
||||
sha256 = "sha256-RFOpN+tIMfakb7AZN0ock9eq2mytvL0DWedvQV67+ks=";
|
||||
sparseCheckout = "console";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -368,6 +368,8 @@ with pkgs;
|
||||
|
||||
conftest = callPackage ../development/tools/conftest { };
|
||||
|
||||
colemak-dh = callPackage ../data/misc/colemak-dh { };
|
||||
|
||||
colmena = callPackage ../tools/admin/colmena { };
|
||||
|
||||
colorz = callPackage ../tools/misc/colorz { };
|
||||
|
Loading…
Reference in New Issue
Block a user