tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
activate-linux: unstable-2022-05-22 -> 1.1.0
Donovan Glover
2 years ago
e6e341bb
9d6494fd
+32
-8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
activate-linux
default.nix
+32
-8
pkgs/applications/misc/activate-linux/default.nix
···
4
4
, pkg-config
5
5
, xorg
6
6
, cairo
7
7
+
, wayland
8
8
+
, wayland-protocols
9
9
+
, wayland-scanner
10
10
+
, libconfig
7
11
}:
8
12
9
9
-
stdenv.mkDerivation rec {
13
13
+
stdenv.mkDerivation (finalAttrs: {
10
14
pname = "activate-linux";
11
11
-
version = "unstable-2022-05-22";
15
15
+
version = "1.1.0";
12
16
13
17
src = fetchFromGitHub {
14
18
owner = "MrGlockenspiel";
15
15
-
repo = pname;
16
16
-
rev = "18a6dc9771c568c557569ef680386d5d67f25e96";
17
17
-
sha256 = "wYoCyWZqu/jgqAuNYdNr2bjpz4pFRTnAF7qF4BRs9GE=";
19
19
+
repo = "activate-linux";
20
20
+
rev = "v${finalAttrs.version}";
21
21
+
hash = "sha256-6XnoAoZwAs2hKToWlDqkaGqucmV1VMkEc4QO0G0xmrg=";
18
22
};
19
23
20
24
makeFlags = [ "PREFIX=$(out)" ];
21
25
22
26
nativeBuildInputs = [
23
27
pkg-config
28
28
+
wayland-scanner
24
29
];
25
30
26
31
buildInputs = [
32
32
+
cairo
27
33
xorg.libX11
28
34
xorg.libXext
29
35
xorg.libXfixes
36
36
+
xorg.libXi
30
37
xorg.libXinerama
31
31
-
cairo
38
38
+
xorg.libXrandr
39
39
+
xorg.libXt
40
40
+
xorg.xorgproto
41
41
+
wayland
42
42
+
wayland-protocols
43
43
+
libconfig
32
44
];
33
45
46
46
+
installPhase = ''
47
47
+
runHook preInstall
48
48
+
49
49
+
mkdir -p $out/bin
50
50
+
mkdir -p $out/share/man/man1
51
51
+
52
52
+
cp activate-linux $out/bin
53
53
+
cp activate-linux.1 $out/share/man/man1
54
54
+
55
55
+
runHook postInstall
56
56
+
'';
34
57
35
58
meta = with lib; {
36
59
description = "The \"Activate Windows\" watermark ported to Linux";
37
60
homepage = "https://github.com/MrGlockenspiel/activate-linux";
38
61
license = licenses.gpl3;
39
39
-
maintainers = with maintainers; [ alexnortung ];
62
62
+
maintainers = with maintainers; [ alexnortung donovanglover ];
40
63
platforms = platforms.linux;
64
64
+
mainProgram = "activate-linux";
41
65
};
42
42
-
}
66
66
+
})