nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, fetchFromGitHub
3, lib
4, pkg-config
5, xorg
6, cairo
7}:
8
9stdenv.mkDerivation rec {
10 pname = "activate-linux";
11 version = "unstable-2022-05-22";
12
13 src = fetchFromGitHub {
14 owner = "MrGlockenspiel";
15 repo = pname;
16 rev = "18a6dc9771c568c557569ef680386d5d67f25e96";
17 sha256 = "wYoCyWZqu/jgqAuNYdNr2bjpz4pFRTnAF7qF4BRs9GE=";
18 };
19
20 makeFlags = [ "PREFIX=$(out)" ];
21
22 nativeBuildInputs = [
23 pkg-config
24 ];
25
26 buildInputs = [
27 xorg.libX11
28 xorg.libXext
29 xorg.libXfixes
30 xorg.libXinerama
31 cairo
32 ];
33
34
35 meta = with lib; {
36 description = "The \"Activate Windows\" watermark ported to Linux";
37 homepage = "https://github.com/MrGlockenspiel/activate-linux";
38 license = licenses.gpl3;
39 maintainers = with maintainers; [ alexnortung ];
40 platforms = platforms.linux;
41 };
42}