@@ -10,17 +10,21 @@
1010, pyquery
1111, requests
1212, pytestCheckHook
13+, pythonOlder
1314}:
1415
1516buildPythonPackage rec {
1617 pname = "howdoi";
1718 version = "2.0.19";
19+ format = "setuptools";
20+
21+ disabled = pythonOlder "3.7";
1822
1923 src = fetchFromGitHub {
2024 owner = "gleitz";
2125 repo = pname;
2226 rev = "v${version}";
23− sha256 = "0hl7cpxm4llsgw6390bpjgkzrprrpb0vxx2flgly7wiy9zl1rc5q";
27+ hash = "sha256-uLAc6E8+8uPpo070vsG6Od/855N3gTQMf5pSUvtlh0I=";
2428 };
2529
2630 propagatedBuildInputs = [
@@ -46,6 +50,16 @@ buildPythonPackage rec {
4650 # AssertionError: "The...
4751 "test_get_text_with_one_link"
4852 "test_get_text_without_links"
53+ # Those tests are failing in the sandbox
54+ # OSError: [Errno 24] Too many open files
55+ "test_answers"
56+ "test_answers_bing"
57+ "test_colorize"
58+ "test_json_output"
59+ "test_missing_pre_or_code_query"
60+ "test_multiple_answers"
61+ "test_position"
62+ "test_unicode_answer"
4963 ];
5064
5165 pythonImportsCheck = [
@@ -54,7 +68,7 @@ buildPythonPackage rec {
5468
5569 meta = with lib; {
5670 description = "Instant coding answers via the command line";
57− homepage = "https://pypi.python.org/pypi/howdoi";
71+ homepage = "https://github.com/gleitz/howdoi";
5872 license = licenses.mit;
5973 maintainers = with maintainers; [ costrouc ];
6074 };