Unverified Commit 0580b079 authored by Guillaume Girol's avatar Guillaume Girol Committed by GitHub
Browse files

Merge pull request #278991 from onemoresuza/wallust-theme-feature

wallust: add imagemagick dependency
parents 68b6603c aac9f873
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 = {