2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake }:
|
2017-09-02 07:17:53 +01:00
|
|
|
|
2020-07-10 19:14:23 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "caps2esc";
|
|
|
|
version = "0.1.3";
|
2017-09-02 07:17:53 +01:00
|
|
|
|
2020-07-10 19:14:23 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "interception/linux/plugins";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "10xv56vh5h3lxyii3ni166ddv1sz2pylrjmdwxhb4gd2p5zgl1ji";
|
2017-09-02 07:17:53 +01:00
|
|
|
};
|
|
|
|
|
2020-07-10 19:14:23 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-09-02 07:17:53 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-02 07:17:53 +01:00
|
|
|
homepage = "https://gitlab.com/interception/linux/plugins/caps2esc";
|
|
|
|
description = "Transforming the most useless key ever into the most useful one";
|
2017-12-05 11:57:11 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.vyp ];
|
|
|
|
platforms = platforms.linux;
|
2017-09-02 07:17:53 +01:00
|
|
|
};
|
|
|
|
}
|