rpi-imager: set meta.homepage to something useful, don't use finalAttrs.pname in src
If we would overwrite pname then the FOD would be broken and the github repo doesn't chane if we would append some variant name to pname. meta.homepage was before a not very helpful download page which didn't even contain the version number of the program.
This commit is contained in:
parent
5f64a12a72
commit
59fcbd9e2a
1 changed files with 2 additions and 3 deletions
|
@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raspberrypi";
|
||||
repo = finalAttrs.pname;
|
||||
repo = "rpi-imager";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
sha256 = "sha256-ZuS/fhPpVlLSdaD+t+qIw6fdEbi7c82X+BxcgWlPntg=";
|
||||
};
|
||||
|
@ -72,9 +72,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
meta = with lib; {
|
||||
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}";
|
||||
downloadPage = "https://github.com/raspberrypi/rpi-imager/";
|
||||
license = licenses.asl20;
|
||||
mainProgram = "rpi-imager";
|
||||
maintainers = with maintainers; [ ymarkus anthonyroussel ];
|
||||
|
|
Loading…
Reference in a new issue