Merge pull request #277196 from SuperSandro2000/patch-2

rpi-imager: set meta.homepage to something useful, don't use finalAtt…
This commit is contained in:
Mario Rodas 2023-12-28 10:26:43 -05:00 committed by GitHub
commit 7da42d313b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "raspberrypi"; owner = "raspberrypi";
repo = finalAttrs.pname; repo = "rpi-imager";
rev = "refs/tags/v${finalAttrs.version}"; rev = "refs/tags/v${finalAttrs.version}";
sha256 = "sha256-ZuS/fhPpVlLSdaD+t+qIw6fdEbi7c82X+BxcgWlPntg="; sha256 = "sha256-ZuS/fhPpVlLSdaD+t+qIw6fdEbi7c82X+BxcgWlPntg=";
}; };
@ -72,9 +72,8 @@ stdenv.mkDerivation (finalAttrs: {
meta = with lib; { meta = with lib; {
description = "Raspberry Pi Imaging Utility"; description = "Raspberry Pi Imaging Utility";
homepage = "https://www.raspberrypi.com/software/"; homepage = "https://github.com/raspberrypi/rpi-imager/";
changelog = "https://github.com/raspberrypi/rpi-imager/releases/tag/v${finalAttrs.version}"; changelog = "https://github.com/raspberrypi/rpi-imager/releases/tag/v${finalAttrs.version}";
downloadPage = "https://github.com/raspberrypi/rpi-imager/";
license = licenses.asl20; license = licenses.asl20;
mainProgram = "rpi-imager"; mainProgram = "rpi-imager";
maintainers = with maintainers; [ ymarkus anthonyroussel ]; maintainers = with maintainers; [ ymarkus anthonyroussel ];