1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, oauthlib
5, pythonOlder
6, requests
7, requests-oauthlib
8}:
9
10buildPythonPackage rec {
11 pname = "ondilo";
12 version = "0.3.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchFromGitHub {
18 owner = "JeromeHXP";
19 repo = pname;
20 rev = version;
21 hash = "sha256-MI6K+41I/IVi+GRBdmRIHbljULDFLAwpo3W8tdxCOBM=";
22 };
23
24 propagatedBuildInputs = [
25 oauthlib
26 requests
27 requests-oauthlib
28 ];
29
30 # Project has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "ondilo"
35 ];
36
37 meta = with lib; {
38 description = "Python package to access Ondilo ICO APIs";
39 homepage = "https://github.com/JeromeHXP/ondilo";
40 license = with licenses; [ mit ];
41 maintainers = with maintainers; [ fab ];
42 };
43}