diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6d4843826d71..bbae4fd50764 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12518,11 +12518,11 @@ let setuptools_scm = buildPythonPackage rec { name = "setuptools_scm-${version}"; - version = "1.5.4"; + version = "1.7.0"; src = pkgs.fetchurl { - url = "https://bitbucket.org/pypa/setuptools_scm/get/v${version}.tar.bz2"; - sha256 = "0vd6xsl7r0vn5gpw87d31s195j33sqw5c26zdagimy9qzydgq6y6"; + url = "https://pypi.python.org/packages/source/s/setuptools_scm/${name}.tar.gz"; + sha256 = "f2f69c782b4f549003edf5b75b356b37f40a4e880b615996c5d9c117913d6f9c"; }; buildInputs = with self; [ pip ];