@@ -1,8 +1,19 @@
1−{ lib, buildPythonPackage, fetchFromGitHub, GitPython, pytestCheckHook, backoff, requests }:
1+{ lib
2+, backoff
3+, buildPythonPackage
4+, fetchFromGitHub
5+, GitPython
6+, pytestCheckHook
7+, pythonOlder
8+, requests
9+}:
210
311buildPythonPackage rec {
412 pname = "versionfinder";
513 version = "1.1.1";
14+ format = "setuptools";
15+
16+ disabled = pythonOlder "3.7";
617
718 src = fetchFromGitHub {
819 owner = "jantman";
@@ -22,11 +33,18 @@ buildPythonPackage rec {
2233 ];
2334
2435 disabledTestPaths = [
25− # acceptance tests use the network
36+ # Acceptance tests use the network
2637 "versionfinder/tests/test_acceptance.py"
2738 ];
2839
29− pythonImportsCheck = [ "versionfinder" ];
40+ disabledTests = [
41+ # Tests are out-dated
42+ "TestFindPipInfo"
43+ ];
44+
45+ pythonImportsCheck = [
46+ "versionfinder"
47+ ];
3048
3149 meta = with lib; {
3250 description = "Find the version of another package, whether installed via pip, setuptools or git";