mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
79b72e2110
* emacs.pkgs.control-lock: Add package * emacs.pkgs.control-lock: Address PR comments
24 lines
648 B
Nix
24 lines
648 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "control-lock";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/emacsmirror/emacswiki.org/blob/185fdc34fb1e02b43759ad933d3ee5646b0e78f8/control-lock.el";
|
|
sha256 = "1b5xcgq2r565pr1c14dwrmn1fl05p56infapa5pqvajv2kpfla7h";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
install -d $out/share/emacs/site-lisp
|
|
install $src $out/share/emacs/site-lisp/control-lock.el
|
|
'';
|
|
|
|
meta = {
|
|
description = "Like caps-lock, but for your control key. Give your pinky a rest!";
|
|
homepage = "https://www.emacswiki.org/emacs/control-lock.el";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|