mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
headphones: 0.6.0-alpha.1 -> 0.6.0-beta.5
This commit is contained in:
parent
31b1b6a71e
commit
df94e74d68
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user