swaglyrics: 1.2.2 -> unstable-2021-06-17 and enable on darwin
This commit is contained in:
parent
9a64bc2a11
commit
04a15518c1
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "swaglyrics";
|
pname = "swaglyrics";
|
||||||
version = "1.2.2";
|
version = "unstable-2021-06-17";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SwagLyrics";
|
owner = "SwagLyrics";
|
||||||
repo = "SwagLyrics-For-Spotify";
|
repo = "SwagLyrics-For-Spotify";
|
||||||
rev = "v${version}";
|
rev = "99fe764a9e45cac6cb9fcdf724c7d2f8cb4524fb";
|
||||||
sha256 = "1dwj9fpyhqqpm2z3imp8hfribkzxya891shh77yg77rc2xghp7mh";
|
sha256 = "sha256-O48T1WsUIVnNQb8gmzSkFFHTOiFOKVSAEYhF9zUqZz0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
@ -17,10 +17,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace 'requests>=2.24.0' 'requests~=2.23' \
|
--replace 'beautifulsoup4==4.9.3' 'beautifulsoup4>=4.9.3' \
|
||||||
--replace 'beautifulsoup4==4.9.1' 'beautifulsoup4~=4.9' \
|
--replace 'unidecode==1.2.0' 'unidecode>=1.2.0' \
|
||||||
--replace 'colorama==0.4.3' 'colorama~=0.4' \
|
--replace 'flask==2.0.1' 'flask>=2.0.1'
|
||||||
--replace 'unidecode==1.1.1' 'unidecode~=1.2'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = "export HOME=$NIX_BUILD_TOP";
|
preBuild = "export HOME=$NIX_BUILD_TOP";
|
||||||
|
@ -43,6 +42,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify";
|
homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ siraben ];
|
maintainers = with maintainers; [ siraben ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue