2023-08-22 20:05:09 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, libX11, libXext }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
stdenv.mkDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.2";
|
|
|
|
pname = "numlockx";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rg3";
|
2023-08-22 20:05:09 +00:00
|
|
|
repo = "numlockx";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "9159fd3c5717c595dadfcb33b380a85c88406185";
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-wrHBelxEADUKugmtR8loWaJ/6s5U4PBBz8V+Dr1yifA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXext autoconf ];
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Allows to start X with NumLock turned on";
|
2023-08-22 20:05:09 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
mainProgram = "numlockx";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|