about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/interception-tools/caps2esc.nix
blob: b31a24b0c837b47475d508c7e1e110509c595db9 (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
{ stdenv, fetchurl, cmake }:

let
  version = "0.1.0";
  pname = "interception-tools-caps2esc";
in stdenv.mkDerivation {
  name = "${pname}-${version}";

  src = fetchurl {
    url = "https://gitlab.com/interception/linux/plugins/caps2esc/repository/v${version}/archive.tar.gz";
    sha256 = "1fdxqp54gwsrm2c63168l256nfwdk4mvgr7nlwdv62wd3l7zzrg8";
  };

  buildInputs = [ cmake ];

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