cwal: 0.7.0 -> 0.8.2

This commit is contained in:
nitinbhat972
2026-03-29 10:07:14 -04:00
committed by Michael Daniels
parent 0b54e7333a
commit 2334c8e9a9
+10 -3
View File
@@ -7,17 +7,18 @@
imagemagick,
libimagequant,
lua,
makeWrapper,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cwal";
version = "0.7.0";
version = "0.8.2";
src = fetchFromGitHub {
owner = "nitinbhat972";
repo = "cwal";
rev = "v${finalAttrs.version}";
hash = "sha256-2COw5YBa16XzB4h5dfTLDF6LYjb10UC3+hCgTavnnVo=";
hash = "sha256-CvC7I0/Obn/IEXmbr8Hs7YqUk6NPgduJpDCNCHwU8lA=";
};
strictDeps = true;
@@ -25,6 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
pkg-config
makeWrapper
];
buildInputs = [
@@ -33,12 +35,17 @@ stdenv.mkDerivation (finalAttrs: {
lua
];
postFixup = ''
wrapProgram $out/bin/cwal \
--prefix XDG_DATA_DIRS : $out/share
'';
meta = {
description = "Blazing-fast pywal-like color palette generator written in C";
homepage = "https://github.com/nitinbhat972/cwal";
license = lib.licenses.gpl3Only;
mainProgram = "cwal";
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ gustlik501 ];
};
})