Merge pull request #170168 from zendo/shortwave

shortwave: 2.0.1 -> 3.0.0
This commit is contained in:
Sandro 2022-04-26 01:30:24 +02:00 committed by GitHub
commit ff1989edb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,28 +14,29 @@
, ninja
, openssl
, pkg-config
, python3
, rustPlatform
, sqlite
, wrapGAppsHook
, wrapGAppsHook4
, cmake
, libshumate
}:
stdenv.mkDerivation rec {
pname = "shortwave";
version = "2.0.1";
version = "3.0.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Shortwave";
rev = version;
sha256 = "sha256-25qPb7qlqCwYJzl4qZxAZYx5asxSlXBlc/0dGyBdk1o=";
sha256 = "sha256-qwk63o9pfqpAm6l9ioj3RccacemQU8R6LF6El4yHkjQ";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-00dQXcSNmdZb2nSLG3q7jm4sugF9XR4LbH0OmcuHVxA=";
hash = "sha256-YrB322nv9CgZqt5//VMvVwjWA51ePlX2PI6raRJGBxA=";
};
nativeBuildInputs = [
@ -46,11 +47,11 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
python3
rustPlatform.rust.cargo
rustPlatform.cargoSetupHook
rustPlatform.rust.rustc
wrapGAppsHook
wrapGAppsHook4
cmake
];
buildInputs = [
@ -61,6 +62,7 @@ stdenv.mkDerivation rec {
libadwaita
openssl
sqlite
libshumate
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
@ -68,10 +70,6 @@ stdenv.mkDerivation rec {
gst-plugins-bad
]);
postPatch = ''
patchShebangs build-aux/meson/postinstall.py
'';
meta = with lib; {
homepage = "https://gitlab.gnome.org/World/Shortwave";
description = "Find and listen to internet radio stations";
@ -80,7 +78,6 @@ stdenv.mkDerivation rec {
desktop. It is the successor to the older Gradio application.
'';
maintainers = with maintainers; [ lasandell ];
broken = true; # incompatible with latest libadwaita
license = licenses.gpl3Plus;
platforms = platforms.linux;
};