2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11, libXext, autoconf }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.2";
|
|
|
|
pname = "numlockx";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rg3";
|
|
|
|
repo = pname;
|
|
|
|
rev = "9159fd3c5717c595dadfcb33b380a85c88406185";
|
|
|
|
sha256 = "1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXext autoconf ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Allows to start X with NumLock turned on";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|