mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
gnome-podcasts: modernize
This commit is contained in:
parent
7a09a5a0b5
commit
f3dfe940e0
1 changed files with 5 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "gnome-podcasts";
|
pname = "gnome-podcasts";
|
||||||
version = "25.2";
|
version = "25.2";
|
||||||
|
|
||||||
|
@ -31,12 +31,12 @@ stdenv.mkDerivation rec {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = "podcasts";
|
repo = "podcasts";
|
||||||
rev = version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-pVGut7kmwybPrR7ZaXPoDx03FOYeZSvchXl++2cdPck=";
|
hash = "sha256-pVGut7kmwybPrR7ZaXPoDx03FOYeZSvchXl++2cdPck=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit src;
|
inherit (finalAttrs) pname version src;
|
||||||
hash = "sha256-HKU4rd5OzxhYcN6QKiTVj+NnkdyG8T+D6X1txznZ/xM=";
|
hash = "sha256-HKU4rd5OzxhYcN6QKiTVj+NnkdyG8T+D6X1txznZ/xM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,9 +78,10 @@ stdenv.mkDerivation rec {
|
||||||
description = "Listen to your favorite podcasts";
|
description = "Listen to your favorite podcasts";
|
||||||
mainProgram = "gnome-podcasts";
|
mainProgram = "gnome-podcasts";
|
||||||
homepage = "https://apps.gnome.org/Podcasts/";
|
homepage = "https://apps.gnome.org/Podcasts/";
|
||||||
|
changelog = "https://gitlab.gnome.org/World/podcasts/-/releases/${finalAttrs.version}";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = lib.teams.gnome.members ++ lib.teams.gnome-circle.members;
|
maintainers = lib.teams.gnome.members ++ lib.teams.gnome-circle.members;
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-podcasts.x86_64-darwin
|
broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-podcasts.x86_64-darwin
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue