aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/inputmethods/interception-tools/caps2esc.nix
blob: 7e6206eb1f37d7e4dad56bfb093c2850f9db8b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitLab, cmake }:

stdenv.mkDerivation rec {
  pname = "caps2esc";
  version = "0.1.3";

  src = fetchFromGitLab {
    owner = "interception/linux/plugins";
    repo = pname;
    rev = "v${version}";
    sha256 = "10xv56vh5h3lxyii3ni166ddv1sz2pylrjmdwxhb4gd2p5zgl1ji";
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    homepage = "https://gitlab.com/interception/linux/plugins/caps2esc";
    description = "Transforming the most useless key ever into the most useful one";
    license = licenses.mit;
    maintainers = [ maintainers.vyp ];
    platforms = platforms.linux;
  };
}