summary refs log tree commit diff
path: root/pkgs/applications/misc/activate-linux/default.nix
blob: b48236dd96811429a3fd0d78e4c2b02f7ab9233a (plain) (blame)
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
35
36
37
38
39
40
41
42
{ stdenv
, fetchFromGitHub
, lib
, pkg-config
, xorg
, cairo
}:

stdenv.mkDerivation rec {
  pname = "activate-linux";
  version = "unstable-2022-05-22";

  src = fetchFromGitHub {
    owner = "MrGlockenspiel";
    repo = pname;
    rev = "18a6dc9771c568c557569ef680386d5d67f25e96";
    sha256 = "wYoCyWZqu/jgqAuNYdNr2bjpz4pFRTnAF7qF4BRs9GE=";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    xorg.libX11
    xorg.libXext
    xorg.libXfixes
    xorg.libXinerama
    cairo
  ];


  meta = with lib; {
    description = "The \"Activate Windows\" watermark ported to Linux";
    homepage = "https://github.com/MrGlockenspiel/activate-linux";
    license = licenses.gpl3;
    maintainers = with maintainers; [ alexnortung ];
    platforms = platforms.linux;
  };
}