From be2236aeb3041b434b3bf23e6e0b0bb039af5588 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 25 Oct 2022 07:56:21 -0300 Subject: [PATCH] icewm: 3.0.1 -> 3.1.0 --- .../window-managers/icewm/default.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix index d9a103035668..4bcdf1643f1b 100644 --- a/pkgs/applications/window-managers/icewm/default.nix +++ b/pkgs/applications/window-managers/icewm/default.nix @@ -4,6 +4,7 @@ , fetchpatch , cmake , expat +, flac , fontconfig , freetype , fribidi @@ -26,25 +27,26 @@ , libXpm , libXrandr , libjpeg +, libogg , libpng , libpthreadstubs , libsndfile , libtiff , libxcb , mkfontdir -, pcre +, pcre2 , perl , pkg-config }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "icewm"; - version = "3.0.1"; + version = "3.1.0"; src = fetchFromGitHub { owner = "ice-wm"; - repo = pname; - rev = version; + repo = "icewm"; + rev = finalAttrs.version; hash = "sha256-0mnhH/7Y4VXpNUU++ln2//9/vuTxq9sa2D933Cf7Ifw="; }; @@ -56,6 +58,7 @@ stdenv.mkDerivation rec { buildInputs = [ expat + flac fontconfig freetype fribidi @@ -78,13 +81,14 @@ stdenv.mkDerivation rec { libXpm libXrandr libjpeg + libogg libpng libpthreadstubs libsndfile libtiff libxcb mkfontdir - pcre + pcre2 ]; cmakeFlags = [ @@ -94,7 +98,8 @@ stdenv.mkDerivation rec { # install legacy themes postInstall = '' - cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/ + cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} \ + $out/share/icewm/themes/ ''; meta = with lib; { @@ -117,4 +122,4 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.AndersonTorres ]; platforms = platforms.linux; }; -} +})