Unverified Commit 2334c8e9 authored by nitinbhat972's avatar nitinbhat972 Committed by Michael Daniels
Browse files

cwal: 0.7.0 -> 0.8.2

parent 0b54e733
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -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 ];
  };
})