summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/csrmesh/default.nix
blob: 19302c70900050b88076ad4fc356dd8c326fda0b (about) (plain)
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
{
  lib,
  bluepy,
  buildPythonPackage,
  fetchPypi,
  pycryptodomex,
}:

buildPythonPackage rec {
  pname = "csrmesh";
  version = "0.10.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "03lzam54ypcfvqvikh3gsrivvlidmz1ifdq15xv8c5i3n5b178ag";
  };

  propagatedBuildInputs = [
    bluepy
    pycryptodomex
  ];

  # Project has no test
  doCheck = false;
  pythonImportsCheck = [ "csrmesh" ];

  meta = with lib; {
    description = "Python implementation of the CSRMesh bridge protocol";
    homepage = "https://github.com/nkaminski/csrmesh";
    license = with licenses; [ lgpl3Only ];
    maintainers = with maintainers; [ fab ];
  };
}