2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11, libXtst, pkg-config, xorgproto, libXi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ksuperkey";
|
|
|
|
version = "0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hanschen";
|
|
|
|
repo = "ksuperkey";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1dvgf356fihfav8pjzww1q6vgd96c5h18dh8vpv022g9iipiwq8a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-05-29 06:06:01 +00:00
|
|
|
buildInputs = [ libX11 libXtst xorgproto libXi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool to be able to bind the super key as a key rather than a modifier";
|
2020-05-29 06:06:01 +00:00
|
|
|
homepage = "https://github.com/hanschen/ksuperkey";
|
|
|
|
license = licenses.gpl3;
|
2021-08-05 21:33:18 +00:00
|
|
|
maintainers = [ ];
|
2020-05-29 06:06:01 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ksuperkey";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|