Unverified Commit f0c58ea8 authored by Nick Cao's avatar Nick Cao
Browse files

python3Packages.allpairspy: fetch source from github

parent 47f570f6
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
{ 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 = [