diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2022-02-22 19:38:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 19:38:44 +0100 |
commit | fc38816b96fbdb6b3a463c62ca0be7b98e24976c (patch) | |
tree | 2af8fabce16ef92e5c9cb4ef647e9127b0857f94 /pkgs/servers | |
parent | 9463799f738580c2d538c0b368eebdc54605c2fd (diff) | |
parent | df94e74d685de7b9b68dec0d5937052d084a7276 (diff) |
Merge pull request #157708 from rembo10/headphones-update
headphones: 0.6.0-alpha.1 -> 0.6.0-beta.5
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/headphones/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/servers/headphones/default.nix b/pkgs/servers/headphones/default.nix index a9403bf9edd4d..f39390f5ea925 100644 --- a/pkgs/servers/headphones/default.nix +++ b/pkgs/servers/headphones/default.nix @@ -2,13 +2,13 @@ python3.pkgs.buildPythonApplication rec { pname = "headphones"; - version = "0.6.0-alpha.1"; + version = "0.6.0-beta.5"; src = fetchFromGitHub { owner = "rembo10"; repo = "headphones"; rev = "v${version}"; - sha256 = "sha256-+mWtceQoHSMRkA8izZnKM0cgbt0P5Hr3arKOevpKvqc="; + sha256 = "1ddqk5ch1dlh895cm99li4gb4a596mvq3d0gah9vrbn6fyhp3b4v"; }; dontBuild = true; @@ -17,17 +17,21 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = [ makeWrapper ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin $out/opt/headphones cp -R {data,headphones,lib,Headphones.py} $out/opt/headphones echo v${version} > $out/opt/headphones/version.txt makeWrapper $out/opt/headphones/Headphones.py $out/bin/headphones + + runHook postInstall ''; meta = with lib; { description = "Automatic music downloader for SABnzbd"; - license = licenses.gpl3; + license = licenses.gpl3Plus; homepage = "https://github.com/rembo10/headphones"; maintainers = with lib.maintainers; [ rembo10 ]; }; |