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