Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

activate-linux: unstable-2022-05-22 -> 1.1.0

+32 -8
+32 -8
pkgs/applications/misc/activate-linux/default.nix
··· 4 , pkg-config 5 , xorg 6 , cairo 7 }: 8 9 - stdenv.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 - }
··· 4 , pkg-config 5 , xorg 6 , cairo 7 + , wayland 8 + , wayland-protocols 9 + , wayland-scanner 10 + , libconfig 11 }: 12 13 + stdenv.mkDerivation (finalAttrs: { 14 pname = "activate-linux"; 15 + version = "1.1.0"; 16 17 src = fetchFromGitHub { 18 owner = "MrGlockenspiel"; 19 + repo = "activate-linux"; 20 + rev = "v${finalAttrs.version}"; 21 + hash = "sha256-6XnoAoZwAs2hKToWlDqkaGqucmV1VMkEc4QO0G0xmrg="; 22 }; 23 24 makeFlags = [ "PREFIX=$(out)" ]; 25 26 nativeBuildInputs = [ 27 pkg-config 28 + wayland-scanner 29 ]; 30 31 buildInputs = [ 32 + cairo 33 xorg.libX11 34 xorg.libXext 35 xorg.libXfixes 36 + xorg.libXi 37 xorg.libXinerama 38 + xorg.libXrandr 39 + xorg.libXt 40 + xorg.xorgproto 41 + wayland 42 + wayland-protocols 43 + libconfig 44 ]; 45 46 + installPhase = '' 47 + runHook preInstall 48 + 49 + mkdir -p $out/bin 50 + mkdir -p $out/share/man/man1 51 + 52 + cp activate-linux $out/bin 53 + cp activate-linux.1 $out/share/man/man1 54 + 55 + runHook postInstall 56 + ''; 57 58 meta = with lib; { 59 description = "The \"Activate Windows\" watermark ported to Linux"; 60 homepage = "https://github.com/MrGlockenspiel/activate-linux"; 61 license = licenses.gpl3; 62 + maintainers = with maintainers; [ alexnortung donovanglover ]; 63 platforms = platforms.linux; 64 + mainProgram = "activate-linux"; 65 }; 66 + })