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 hash = "sha256-sUy37sEPEMyFYFVBzFVdcg31nZAyC+Ricm4LqxmjuQQ=";
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 = [
34 "pynello"
35 ];
36
37 meta = with lib; {
38 description = "Python library for nello.io intercoms";
39 homepage = "https://github.com/pschmitt/pynello";
40 license = with licenses; [ gpl3Only ];
41 maintainers = with maintainers; [ fab ];
42 };
43}