- format = "pyproject";
- nativeBuildInputs = [ poetry ];
- checkInputs = [ pytestCheckHook pytest-asyncio ];
- }) { };
-
- fallback-git-cache = self.python3Packages.callPackage
- ({ buildPythonPackage, fetchgit, git, backoff, mypy, }:
- buildPythonPackage rec {
- pname = "git-cache";
- version = "1.3.0";
- src = fetchgit {
- url = "https://scottworley.com/git-cache.git";
- rev = "v${version}";
- sha256 = "sha256-0HbtnS98im0sd2JIdUePBcspUskL2DY8ylQdyEC2sS0=";
- };
- propagatedBuildInputs = [ backoff ];
- checkInputs = [ git mypy ];
- doCheck = true;
- checkPhase = "./test.sh";
- }) { backoff = self.python3Packages.backoff or fallback-backoff; };
+ pyproject = true;
+ build-system = [ setuptools ];
+ propagatedBuildInputs = [ backoff ];
+ nativeCheckInputs = [
+ git
+ mypy
+ ];
+ doCheck = true;
+ checkPhase = "./test.sh";
+ }
+ ) { };