about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/brelpy/default.nix
blob: 66d611f5e93168298183873a5daf11d6d12acaaf (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
{ lib
, buildPythonPackage
, fetchPypi
, pycryptodome
, PyGithub
, pythonOlder
}:

buildPythonPackage rec {
  pname = "brelpy";
  version = "0.0.3";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-MYWSKYd7emHZfY+W/UweQtTg62GSUMybpecL9BR8dhg=";
  };

  propagatedBuildInputs = [
    pycryptodome
  ];

  # Source not tagged and PyPI releases don't contain tests
  doCheck = false;

  pythonImportsCheck = [
    "brelpy"
  ];

  meta = with lib; {
    description = "Python to communicate with the Brel hubs";
    homepage = "https://gitlab.com/rogiervandergeer/brelpy";
    license = licenses.agpl3Only;
    maintainers = with maintainers; [ fab ];
  };
}