about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pynello/default.nix
blob: a7a75d7c5ddd354f9a2fd243729f09d7e74fff53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, buildPythonPackage
, fetchFromGitHub
, python-dateutil
, pythonOlder
, requests
, requests-oauthlib
}:

buildPythonPackage rec {
  pname = "pynello";
  version = "2.0.3";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "pschmitt";
    repo = pname;
    rev = version;
    hash = "sha256-sUy37sEPEMyFYFVBzFVdcg31nZAyC+Ricm4LqxmjuQQ=";
  };

  propagatedBuildInputs = [
    python-dateutil
    requests
    requests-oauthlib
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "pynello"
  ];

  meta = with lib; {
    description = "Python library for nello.io intercoms";
    homepage = "https://github.com/pschmitt/pynello";
    license = with licenses; [ gpl3Only ];
    maintainers = with maintainers; [ fab ];
  };
}