Unverified Commit 39b969a4 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

cwal: 0.7.0 -> 0.8.2 (#504615)

parents 83e97f35 ef36169f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -19478,6 +19478,12 @@
    github = "Nishimara";
    githubId = 59232119;
  };
  nitinbhat972 = {
    email = "nitinbhat972@gmail.com";
    github = "nitinbhat972";
    githubId = 80189191;
    name = "Nitin Bhat";
  };
  nitsky = {
    name = "nitsky";
    github = "nitsky";
+14 −4
Original line number Diff line number Diff line
@@ -7,17 +7,18 @@
  imagemagick,
  libimagequant,
  lua,
  makeBinaryWrapper,
}:

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
    makeBinaryWrapper
  ];

  buildInputs = [
@@ -33,12 +35,20 @@ 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;
    maintainers = with lib.maintainers; [ gustlik501 ];
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [
      gustlik501
      nitinbhat972
    ];
  };
})