From 7af228f1b68adfaab5c8d9c68d64cbdde7b2cf67 Mon Sep 17 00:00:00 2001 From: Alexander Nortung Date: Tue, 17 May 2022 14:46:48 +0200 Subject: [PATCH] activate-linux: init at unstable-2022-05-22 --- .../misc/activate-linux/default.nix | 42 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/applications/misc/activate-linux/default.nix diff --git a/pkgs/applications/misc/activate-linux/default.nix b/pkgs/applications/misc/activate-linux/default.nix new file mode 100644 index 000000000000..b48236dd9681 --- /dev/null +++ b/pkgs/applications/misc/activate-linux/default.nix @@ -0,0 +1,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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 53c335dc5a93..c5da1913df89 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -238,6 +238,7 @@ with pkgs; appthreat-depscan = callPackage ../development/tools/appthreat-depscan { }; + activate-linux = callPackage ../applications/misc/activate-linux { }; authy = callPackage ../applications/misc/authy { };