From a855efe7dbce4962729f767177a08f9f4e7ab837 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Tue, 21 Jul 2015 21:37:29 +0000 Subject: [PATCH] ksuperkey: init --- pkgs/tools/X11/ksuperkey/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/X11/ksuperkey/default.nix diff --git a/pkgs/tools/X11/ksuperkey/default.nix b/pkgs/tools/X11/ksuperkey/default.nix new file mode 100644 index 000000000000..233296e58ac4 --- /dev/null +++ b/pkgs/tools/X11/ksuperkey/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit, libX11, libXtst, pkgconfig, inputproto, libXi, xproto, xextproto }: + +stdenv.mkDerivation rec { + name = "ksuperkey-git-2015-07-21"; + + buildInputs = [ + libX11 libXtst pkgconfig inputproto libXi xproto xextproto + ]; + + src = fetchgit { + url = "https://github.com/hanschen/ksuperkey"; + rev = "e75a31a0e3e80b14341e92799a7ce3232ac37639"; + sha256 = "00be6b93daf78bae0223f002e782e30a650dded3c5a83b1adfe9439e20e398fb"; + }; + + preConfigure = '' + makeFlags="$makeFlags PREFIX=$out" + ''; + + meta = { + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ea85bd3547b2..84cbdc23b83b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11811,6 +11811,8 @@ let koji = callPackage ../tools/package-management/koji { }; + ksuperkey = callPackage ../tools/X11/ksuperkey { }; + kubernetes = callPackage ../applications/networking/cluster/kubernetes { }; lame = callPackage ../development/libraries/lame { };