mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
ksuperkey: git-2015-07-21 -> 0.4
This commit is contained in:
parent
5d9e9258de
commit
a57176cab4
1 changed files with 19 additions and 20 deletions
|
@ -1,27 +1,26 @@
|
|||
{ stdenv, fetchgit, libX11, libXtst, pkgconfig, xorgproto, libXi }:
|
||||
{ stdenv, fetchFromGitHub, libX11, libXtst, pkgconfig, xorgproto, libXi }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ksuperkey-git-2015-07-21";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ksuperkey";
|
||||
version = "0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hanschen";
|
||||
repo = "ksuperkey";
|
||||
rev = "v${version}";
|
||||
sha256 = "1dvgf356fihfav8pjzww1q6vgd96c5h18dh8vpv022g9iipiwq8a";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
libX11 libXtst xorgproto libXi
|
||||
];
|
||||
buildInputs = [ libX11 libXtst xorgproto libXi ];
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/hanschen/ksuperkey";
|
||||
rev = "e75a31a0e3e80b14341e92799a7ce3232ac37639";
|
||||
sha256 = "0y4wkak9dvcm14g54ll1ln9aks2az63hx8fv7b8d3nscxjbkxl6g";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
makeFlags="$makeFlags PREFIX=$out"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool to be able to bind the super key as a key rather than a modifier";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.vozz ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = "https://github.com/hanschen/ksuperkey";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.vozz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue