diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-16 00:15:43 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-16 00:15:43 -0300 |
commit | e4e7c30e3d1c91b4dd3569bf5d2c948f7f52f960 (patch) | |
tree | fb5518ab75aed913ec9b9cb4e7b29f9fc5048f07 | |
parent | 4ed9fbd2035763d640b94a5f4b412cde0c1c980c (diff) |
xscreensaver: 6.06 -> 6.08
-rw-r--r-- | pkgs/by-name/xs/xscreensaver/package.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/by-name/xs/xscreensaver/package.nix b/pkgs/by-name/xs/xscreensaver/package.nix index 1ec3b6905a657..2f4af30ff304d 100644 --- a/pkgs/by-name/xs/xscreensaver/package.nix +++ b/pkgs/by-name/xs/xscreensaver/package.nix @@ -24,19 +24,21 @@ , perlPackages , pkg-config , systemd -, forceInstallAllHacks ? false +, forceInstallAllHacks ? true , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd }: stdenv.mkDerivation (finalAttrs: { pname = "xscreensaver"; - version = "6.06"; + version = "6.08"; src = fetchurl { url = "https://www.jwz.org/xscreensaver/xscreensaver-${finalAttrs.version}.tar.gz"; - hash = "sha256-9TT6uFqDbeW4vo6R/CG4DKfWpO2ThuviB9S+ek50mac="; + hash = "sha256-XPUrpSXO7PlLLyvWNIXr3zGOEvzA8q2tfUwQbYVedqM="; }; + outputs = [ "out" "man" ]; + nativeBuildInputs = [ intltool makeWrapper @@ -65,7 +67,13 @@ stdenv.mkDerivation (finalAttrs: { perlPackages.MozillaCA perlPackages.perl ] - ++ lib.optional withSystemd systemd; + ++ lib.optionals withSystemd [ systemd ]; + + postPatch = '' + pushd hacks + patchShebangs check-configs.pl munge-ad.pl xml2man.pl + popd + ''; preConfigure = '' # Fix installation paths for GTK resources. |