mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
757 B
Nix
28 lines
757 B
Nix
{ lib, stdenv, fetchFromGitHub, libX11, libXtst, pkg-config, xorgproto, libXi }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ksuperkey";
|
|
version = "0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hanschen";
|
|
repo = "ksuperkey";
|
|
rev = "v${version}";
|
|
sha256 = "1dvgf356fihfav8pjzww1q6vgd96c5h18dh8vpv022g9iipiwq8a";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libX11 libXtst xorgproto libXi ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to be able to bind the super key as a key rather than a modifier";
|
|
homepage = "https://github.com/hanschen/ksuperkey";
|
|
license = licenses.gpl3;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "ksuperkey";
|
|
};
|
|
}
|