python3Packages.allpairspy: fetch source from github

This commit is contained in:
Nick Cao
2023-07-13 16:00:32 +08:00
parent 47f570f62c
commit f0c58ea808
@@ -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 = [