blob: 9b561c60c7d9008666f9a4806012ed86e6794101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
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";
};
}
|