Unverified Commit aac9f873 authored by Gustavo Coutinho de Souza's avatar Gustavo Coutinho de Souza
Browse files

wallust: add imagemagick dependency

imagemagick is needed for the `wal` backend.
parent 577f77cc
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
, fetchFromGitea
, rustPlatform
, nix-update-script
, imagemagick
, makeWrapper
}:
let
  version = "2.9.0";
@@ -20,6 +22,13 @@ rustPlatform.buildRustPackage {

  cargoHash = "sha256-O9w18ae83mgF3zjk0WUMeu16Ap7CF2ubuPnOqeCt4Nw=";

  nativeBuildInputs = [ makeWrapper ];

  postFixup = ''
    wrapProgram $out/bin/wallust \
      --prefix PATH : "${lib.makeBinPath [ imagemagick ]}"
  '';

  passthru.updateScript = nix-update-script { };

  meta = {