nixpkgs/pkgs/tools/X11/numlockx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
543 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, libX11, libXext }:
2015-06-27 12:16:30 +00:00
stdenv.mkDerivation {
2015-06-27 12:16:30 +00:00
version = "1.2";
pname = "numlockx";
src = fetchFromGitHub {
owner = "rg3";
repo = "numlockx";
2015-06-27 12:16:30 +00:00
rev = "9159fd3c5717c595dadfcb33b380a85c88406185";
hash = "sha256-wrHBelxEADUKugmtR8loWaJ/6s5U4PBBz8V+Dr1yifA=";
2015-06-27 12:16:30 +00:00
};
buildInputs = [ libX11 libXext autoconf ];
meta = {
2015-06-27 12:16:30 +00:00
description = "Allows to start X with NumLock turned on";
license = lib.licenses.mit;
platforms = lib.platforms.all;
mainProgram = "numlockx";
2015-06-27 12:16:30 +00:00
};
}