1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "pydoods";
10 version = "1.0.2";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1brpcfj1iy9mhf2inla4gi681zlh7g4qvhr6vrprk6r693glpn3x";
18 };
19
20 propagatedBuildInputs = [
21 requests
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "pydoods" ];
28
29 meta = with lib; {
30 description = "Python wrapper for the DOODS service";
31 homepage = "https://github.com/snowzach/pydoods";
32 license = with licenses; [ mit ];
33 maintainers = with maintainers; [ fab ];
34 };
35}