@@ -0,0 +1,37 @@
1+{ lib
2+, aiohttp
3+, async-timeout
4+, buildPythonPackage
5+, fetchFromGitHub
6+, pythonOlder
7+}:
8+
9+buildPythonPackage rec {
10+ pname = "open-garage";
11+ version = "0.1.5";
12+ disabled = pythonOlder "3.5";
13+
14+ src = fetchFromGitHub {
15+ owner = "Danielhiversen";
16+ repo = "pyOpenGarage";
17+ rev = version;
18+ sha256 = "1iqcqkbb1ik5lmsvwgy6i780x6y3wlm1gx257anxyvp1b21gm24p";
19+ };
20+
21+ propagatedBuildInputs = [
22+ aiohttp
23+ async-timeout
24+ ];
25+
26+ # Project has no tests
27+ doCheck = false;
28+
29+ pythonImportsCheck = [ "opengarage" ];
30+
31+ meta = with lib; {
32+ description = "Python module to communicate with opengarage.io";
33+ homepage = "https://github.com/Danielhiversen/pyOpenGarage";
34+ license = with licenses; [ mit ];
35+ maintainers = with maintainers; [ fab ];
36+ };
37+}