1{ lib, stdenv, fetchFromGitLab, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "caps2esc";
5 version = "0.3.2";
6
7 src = fetchFromGitLab {
8 group = "interception";
9 owner = "linux/plugins";
10 repo = pname;
11 rev = "v${version}";
12 sha256 = "sha256-gPFElAixiDTTwcl2XKM7MbTkpRrg8ToO5K7H8kz3DHk=";
13 };
14
15 nativeBuildInputs = [ cmake ];
16
17 meta = with lib; {
18 homepage = "https://gitlab.com/interception/linux/plugins/caps2esc";
19 description = "Transforming the most useless key ever into the most useful one";
20 license = licenses.mit;
21 maintainers = [ maintainers.vyp ];
22 platforms = platforms.linux;
23 };
24}