diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-07-06 00:24:50 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-05 23:11:32 -0700 |
commit | e3342306d893e39336bbd330eed9129b2d1941fc (patch) | |
tree | c44799a54acbbc39a665811dfd681d081cc19557 /pkgs/development/python-modules/youtube-search | |
parent | 065e571d29a959883811db6af776c0051fa10efb (diff) | |
download | nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.tar nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.tar.gz nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.tar.bz2 nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.tar.lz nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.tar.xz nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.tar.zst nixpkgs-e3342306d893e39336bbd330eed9129b2d1941fc.zip |
python3Packages.youtube-search: use fetchPypi
There are no tags on GitHub.
Diffstat (limited to 'pkgs/development/python-modules/youtube-search')
-rw-r--r-- | pkgs/development/python-modules/youtube-search/default.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/youtube-search/default.nix b/pkgs/development/python-modules/youtube-search/default.nix index 41424aa56d2..439cc31c8c9 100644 --- a/pkgs/development/python-modules/youtube-search/default.nix +++ b/pkgs/development/python-modules/youtube-search/default.nix @@ -1,20 +1,19 @@ -{ lib, buildPythonPackage, fetchFromGitHub, requests }: +{ lib, buildPythonPackage, fetchPypi, requests }: buildPythonPackage rec { pname = "youtube-search"; - version = "unstable-2021-02-27"; + version = "2.1.0"; - src = fetchFromGitHub { - owner = "joetats"; - repo = "youtube_search"; - rev = "886fe1b16c829215ee0984b6859f874b4a30d875"; - sha256 = "sha256-3ECJ6iHNzx5PLgpTFraFzAYbKnyMYRf/iJ0zajU+hlo="; + src = fetchPypi { + inherit pname version; + sha256 = "1541120273996fa433698b2e57b73296dfb8e90536211f29ea997dcf161b66fe"; }; propagatedBuildInputs = [ requests ]; - # Check disabled due to relative import with no known parent package + # tests require network connection doCheck = false; + pythonImportsCheck = [ "youtube_search" ]; meta = with lib; { |