Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
78 lines
1.3 KiB
Nix
78 lines
1.3 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
appstream-glib,
|
|
glib,
|
|
wrapGAppsHook3,
|
|
pythonPackages,
|
|
gtk3,
|
|
adwaita-icon-theme,
|
|
gobject-introspection,
|
|
libnotify,
|
|
libsecret,
|
|
gst_all_1,
|
|
}:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "pithos";
|
|
version = "1.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pithos";
|
|
repo = "pithos";
|
|
tag = version;
|
|
hash = "sha256-3j6IoMi30BQ8WHK4BxbsW+/3XZx7rBFd47EBENa2GiQ=";
|
|
};
|
|
|
|
format = "other";
|
|
|
|
postPatch = ''
|
|
chmod +x meson_post_install.py
|
|
patchShebangs meson_post_install.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
appstream-glib
|
|
wrapGAppsHook3
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libnotify
|
|
libsecret
|
|
glib
|
|
]
|
|
++ (with gst_all_1; [
|
|
gstreamer
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gst-plugins-ugly
|
|
gst-plugins-bad
|
|
]);
|
|
|
|
propagatedBuildInputs = [
|
|
adwaita-icon-theme
|
|
]
|
|
++ (with pythonPackages; [
|
|
pygobject3
|
|
pylast
|
|
]);
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
description = "Pandora Internet Radio player for GNOME";
|
|
mainProgram = "pithos";
|
|
homepage = "https://pithos.github.io/";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ obadz ];
|
|
};
|
|
}
|