depot/pkgs/tools/inputmethods/interception-tools/caps2esc.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
660 B
Nix

{ lib, stdenv, fetchFromGitLab, cmake }:
stdenv.mkDerivation rec {
pname = "caps2esc";
version = "0.3.2";
src = fetchFromGitLab {
group = "interception";
owner = "linux/plugins";
repo = pname;
rev = "v${version}";
hash = "sha256-gPFElAixiDTTwcl2XKM7MbTkpRrg8ToO5K7H8kz3DHk=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://gitlab.com/interception/linux/plugins/caps2esc";
description = "Transforming the most useless key ever into the most useful one";
mainProgram = "caps2esc";
license = licenses.mit;
maintainers = [ maintainers.vyp ];
platforms = platforms.linux;
};
}