diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-04-17 23:58:59 -0700 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2022-04-17 23:58:59 -0700 |
commit | b3e86b6bcbbe0f36b1d9c075ea3cab642ce02242 (patch) | |
tree | 5eb85e7530836c9d89d2f0c90a332f7037407ded | |
parent | e766d457c63ed752fb602e99b2177712638b28d4 (diff) |
hqplayerd: use fc35 rpm
-rw-r--r-- | pkgs/servers/hqplayerd/default.nix | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/pkgs/servers/hqplayerd/default.nix b/pkgs/servers/hqplayerd/default.nix index 64a5fd183813b..e2b3abc6c0a60 100644 --- a/pkgs/servers/hqplayerd/default.nix +++ b/pkgs/servers/hqplayerd/default.nix @@ -21,36 +21,13 @@ , meson , ninja }: -let - # hqplayerd relies on some package versions available for the fc34 release, - # which has out-of-date pkgs compared to nixpkgs. The following drvs - # can/should be removed when the fc35 hqplayer rpm is made available. - gupnp_1_2 = gupnp.overrideAttrs (old: rec { - pname = "gupnp"; - version = "1.2.7"; - src = fetchurl { - url = "mirror://gnome/sources/gupnp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-hEEnbxr9AXbm9ZUCajpQfu0YCav6BAJrrT8hYis1I+w="; - }; - }); - - gupnp-av_0_12 = gupnp-av.overrideAttrs (old: rec { - pname = "gupnp-av"; - version = "0.12.11"; - src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-aJ3PFJKriZHa6ikTZaMlSKd9GiKU2FszYitVzKnOb9w="; - }; - nativeBuildInputs = lib.subtractLists [ meson ninja ] old.nativeBuildInputs; - }); -in stdenv.mkDerivation rec { pname = "hqplayerd"; version = "4.30.3-87"; src = fetchurl { - url = "https://www.signalyst.eu/bins/${pname}/fc34/${pname}-${version}sse42.fc34.x86_64.rpm"; - hash = "sha256-RX9KI+4HGDUJ3y3An1zTMJTz28Of2Awn7COeX6EQc38="; + url = "https://www.signalyst.eu/bins/${pname}/fc35/${pname}-${version}.fc35.x86_64.rpm"; + hash = "sha256-fEze4aScWDwHDTXU0GatdopQf6FWcywWCGhR/7zXK7A="; }; unpackPhase = '' @@ -66,8 +43,8 @@ stdenv.mkDerivation rec { gcc11.cc.lib gnome.rygel gssdp - gupnp_1_2 - gupnp-av_0_12 + gupnp + gupnp-av lame libgmpris llvmPackages_10.openmp |