ksuperkey: git-2015-07-21 -> 0.4

This commit is contained in:
Ivar 2020-05-17 02:26:34 +02:00
parent 5d9e9258de
commit a57176cab4

View File

@ -1,27 +1,26 @@
{ stdenv, fetchgit, libX11, libXtst, pkgconfig, xorgproto, libXi }: { stdenv, fetchFromGitHub, libX11, libXtst, pkgconfig, xorgproto, libXi }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "ksuperkey-git-2015-07-21"; pname = "ksuperkey";
version = "0.4";
src = fetchFromGitHub {
owner = "hanschen";
repo = "ksuperkey";
rev = "v${version}";
sha256 = "1dvgf356fihfav8pjzww1q6vgd96c5h18dh8vpv022g9iipiwq8a";
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ buildInputs = [ libX11 libXtst xorgproto libXi ];
libX11 libXtst xorgproto libXi
];
src = fetchgit { meta = with stdenv.lib; {
url = "https://github.com/hanschen/ksuperkey";
rev = "e75a31a0e3e80b14341e92799a7ce3232ac37639";
sha256 = "0y4wkak9dvcm14g54ll1ln9aks2az63hx8fv7b8d3nscxjbkxl6g";
};
preConfigure = ''
makeFlags="$makeFlags PREFIX=$out"
'';
meta = {
description = "A tool to be able to bind the super key as a key rather than a modifier"; description = "A tool to be able to bind the super key as a key rather than a modifier";
license = stdenv.lib.licenses.gpl3; homepage = "https://github.com/hanschen/ksuperkey";
maintainers = [ stdenv.lib.maintainers.vozz ]; license = licenses.gpl3;
platforms = stdenv.lib.platforms.linux; maintainers = [ maintainers.vozz ];
platforms = platforms.linux;
}; };
} }