Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
35 lines
620 B
Nix
35 lines
620 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";
|
|
homepage = "https://github.com/rg3/numlockx";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.all;
|
|
mainProgram = "numlockx";
|
|
};
|
|
}
|