Skip to content

Commit

Permalink
xkbset: init at 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
drets authored and dezgeg committed Apr 1, 2017
1 parent a16dc15 commit c7e885f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/tools/X11/xkbset/default.nix
@@ -0,0 +1,33 @@
{ stdenv, fetchurl, perl, libX11 }:

stdenv.mkDerivation rec {
name = "xkbset-0.5";

src = fetchurl {
url = "http://faculty.missouri.edu/~stephen/software/xkbset/${name}.tar.gz";
sha256 = "01c2579495b39e00d870f50225c441888dc88021e9ee3b693a842dd72554d172";
};

buildInputs = [ perl libX11 ];

postPatch = ''
sed "s:^X11PREFIX=.*:X11PREFIX=$out:" -i Makefile
'';

preInstall = ''
mkdir -p $out/bin
mkdir -p $out/man/man1
'';

postInstall = ''
rm -f $out/bin/xkbset-gui
'';

meta = with stdenv.lib; {
homepage = "http://faculty.missouri.edu/~stephen/software/#xkbset";
description = "Program to help manage many of XKB features of X window";
maintainers = with maintainers; [ drets ];
platforms = platforms.linux;
license = licenses.bsd3;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -16172,6 +16172,8 @@ with pkgs;
xen-slim = xenPackages.xen_4_5-slim;
xen-light = xenPackages.xen_4_5-light;

xkbset = callPackage ../tools/X11/xkbset { };

win-spice = callPackage ../applications/virtualization/driver/win-spice { };
win-virtio = callPackage ../applications/virtualization/driver/win-virtio { };
win-qemu = callPackage ../applications/virtualization/driver/win-qemu { };
Expand Down

0 comments on commit c7e885f

Please sign in to comment.