depot/third_party/nixpkgs/pkgs/tools/X11/numlockx/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

22 lines
543 B
Nix

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