Unverified Commit eed41b0b authored by Jasi's avatar Jasi
Browse files

pop-wallpapers: 1.0.5 → 1.0.5-unstable-2025-06-24

parent a108dbc7
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -8,21 +8,18 @@

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "pop-wallpapers";
  version = "1.0.5";
  version = "1.0.5-unstable-2025-06-24";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = "wallpapers";
    rev = "refs/tags/${finalAttrs.version}";
    hash = "sha256-JST5Rt4Ec1lRu62PUt98S2G1vKthAyOSpyCpuCnkGmw=";
    rev = "20a9fdd1ed86aadfbbfcd55dc3d2d9eb8ae28e15";
    hash = "sha256-GUXxy+zRdBCsvWW9ytJZUHSw6rGc3uNTjNIsiK3l+zA=";
  };

  # 1. Future-proofs calls to imagemagick's convert feature
  # 2. Replace hard-coded /usr path to build-system `datadir`
  # Future-proofs calls to imagemagick's convert feature
  postPatch = ''
    substituteInPlace Makefile \
        --replace-fail "convert" "magick" \
        --replace-fail "/usr/share" "\$(datadir)"
    substituteInPlace Makefile --replace-fail "convert" "magick"
  '';

  nativeBuildInputs = [ imagemagick ];
@@ -31,7 +28,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {

  enableParallelBuilding = true;

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };

  meta = {
    description = "Wallpapers for Pop!_OS";