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