2020-05-17 01:26:34 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libX11, libXtst, pkgconfig, xorgproto, libXi }:
|
2015-07-21 22:37:29 +01:00
|
|
|
|
2020-05-17 01:26:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ksuperkey";
|
|
|
|
version = "0.4";
|
2015-07-21 22:37:29 +01:00
|
|
|
|
2020-05-17 01:26:34 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hanschen";
|
|
|
|
repo = "ksuperkey";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1dvgf356fihfav8pjzww1q6vgd96c5h18dh8vpv022g9iipiwq8a";
|
2015-07-21 22:37:29 +01:00
|
|
|
};
|
|
|
|
|
2020-05-17 01:26:34 +01:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXtst xorgproto libXi ];
|
2015-07-21 22:37:29 +01:00
|
|
|
|
2020-05-17 01:26:34 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-07-21 22:37:29 +01:00
|
|
|
description = "A tool to be able to bind the super key as a key rather than a modifier";
|
2020-05-17 01:26:34 +01:00
|
|
|
homepage = "https://github.com/hanschen/ksuperkey";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.vozz ];
|
|
|
|
platforms = platforms.linux;
|
2015-07-21 22:37:29 +01:00
|
|
|
};
|
|
|
|
}
|