1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, python-dateutil
5, pythonOlder
6, requests
7, requests_oauthlib
8}:
9
10buildPythonPackage rec {
11 pname = "pynello";
12 version = "2.0.3";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchFromGitHub {
18 owner = "pschmitt";
19 repo = pname;
20 rev = version;
21 sha256 = "015rlccsn2vff9if82rjj2fza3bjbmawqhamc22wq40gq7pbfk5i";
22 };
23
24 propagatedBuildInputs = [
25 python-dateutil
26 requests
27 requests_oauthlib
28 ];
29
30 # Project has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "pynello" ];
34
35 meta = with lib; {
36 description = "Python library for nello.io intercoms";
37 homepage = "https://github.com/pschmitt/pynello";
38 license = with licenses; [ gpl3Only ];
39 maintainers = with maintainers; [ fab ];
40 };
41}