From 1bdcc68fbb2a713718505610ebfb9e8d462ba656 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Sun, 13 Jun 2021 15:12:55 -0700 Subject: [PATCH 1/3] hqplayerd: run postInstall hook --- pkgs/servers/hqplayerd/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/hqplayerd/default.nix b/pkgs/servers/hqplayerd/default.nix index 10524c71612b..721de0a2866f 100644 --- a/pkgs/servers/hqplayerd/default.nix +++ b/pkgs/servers/hqplayerd/default.nix @@ -45,6 +45,8 @@ stdenv.mkDerivation rec { dontBuild = true; installPhase = '' + runHook preInstall + # main executable mkdir -p $out/bin cp ./usr/bin/hqplayerd $out/bin @@ -62,12 +64,14 @@ stdenv.mkDerivation rec { cp ./usr/lib/systemd/system/hqplayerd.service $out/lib/systemd/system # documentation - mkdir -p $out/share/doc/${pname} - cp ./usr/share/doc/${pname}/* $out/share/doc/${pname} + mkdir -p $out/share/doc/hqplayerd + cp ./usr/share/doc/hqplayerd/* $out/share/doc/hqplayerd # misc service support files - mkdir -p $out/var/lib/${pname} - cp -r ./var/hqplayer/web $out/var/lib/${pname} + mkdir -p $out/var/lib/hqplayerd + cp -r ./var/hqplayer/web $out/var/lib/hqplayerd + + runHook postInstall ''; postInstall = '' From 8c3bd1ff89703f40bd7aa12d4b3551ff92e0003f Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 16 Jun 2021 13:35:47 -0700 Subject: [PATCH 2/3] hqplayerd: 4.24.0-61 -> 4.24.1-62 --- pkgs/servers/hqplayerd/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/hqplayerd/default.nix b/pkgs/servers/hqplayerd/default.nix index 721de0a2866f..8b8b39315f39 100644 --- a/pkgs/servers/hqplayerd/default.nix +++ b/pkgs/servers/hqplayerd/default.nix @@ -16,11 +16,13 @@ stdenv.mkDerivation rec { pname = "hqplayerd"; - version = "4.24.0-61"; + version = "4.24.1-62"; src = fetchurl { + # FIXME: use the fc34 sources when we get glibc 2.33 in nixpkgs + # c.f. https://github.com/NixOS/nixpkgs/pull/111616 url = "https://www.signalyst.eu/bins/${pname}/fc33/${pname}-${version}.fc33.x86_64.rpm"; - sha256 = "sha256-VouqkWRu9lcbCQNmXJayrsZZnhvM5xEZlUyBEkURBOQ="; + sha256 = "sha256-lnejPkw6X3wRtjXTsdipEy6yZCEsDARhLPnySIltHXs="; }; unpackPhase = '' From 664c0feab860b2d8b487dd04ee89620eea10cff5 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 16 Jun 2021 13:36:07 -0700 Subject: [PATCH 3/3] hqplayerd: remove broken changelog link --- pkgs/servers/hqplayerd/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/servers/hqplayerd/default.nix b/pkgs/servers/hqplayerd/default.nix index 8b8b39315f39..ea6cd9ae04c3 100644 --- a/pkgs/servers/hqplayerd/default.nix +++ b/pkgs/servers/hqplayerd/default.nix @@ -88,7 +88,6 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.signalyst.com/custom.html"; description = "High-end upsampling multichannel software embedded HD-audio player"; - changelog = "https://www.signalyst.eu/bins/${pname}/fc33/${pname}-${version}.fc33.x86_64.changes"; license = licenses.unfree; maintainers = with maintainers; [ lovesegfault ]; };