diff --git a/pkgs/development/python-modules/allpairspy/default.nix b/pkgs/development/python-modules/allpairspy/default.nix index f108b0eabf60..351ff745373f 100644 --- a/pkgs/development/python-modules/allpairspy/default.nix +++ b/pkgs/development/python-modules/allpairspy/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , pytestCheckHook , setuptools }: @@ -10,9 +10,11 @@ buildPythonPackage rec { version = "2.5.1"; format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-9p0xo7Vu7hGdHsYGPpxzLdRPu6NS73OMsi2WmfxACf4="; + src = fetchFromGitHub { + owner = "thombashi"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-0wzoQDHB7Tt80ZTlKrNxFutztsgUuin5D2eb80c4PBI="; }; nativeCheckInputs = [