1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/tools/X11/numlockx/default.nix

23 lines
551 B
Nix
Raw Normal View History

2015-06-27 13:16:30 +01:00
{ stdenv, fetchFromGitHub, libX11, libXext, autoconf }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "1.2";
pname = "numlockx";
src = fetchFromGitHub {
owner = "rg3";
repo = pname;
rev = "9159fd3c5717c595dadfcb33b380a85c88406185";
sha256 = "1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2";
};
buildInputs = [ libX11 libXext autoconf ];
meta = with stdenv.lib; {
description = "Allows to start X with NumLock turned on";
license = licenses.mit;
platforms = platforms.all;
};
}