2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, fetchFromGitLab, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "caps2esc";
|
|
|
|
version = "0.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "interception/linux/plugins";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "10xv56vh5h3lxyii3ni166ddv1sz2pylrjmdwxhb4gd2p5zgl1ji";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|