summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/concord232/default.nix
blob: 33265242b0e70d8d0aea997639eb1b587347d62c (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
35
36
37
38
39
40
41
42
43
44
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  requests,
  stevedore,
  prettytable,
  pyserial,
  flask,
}:

buildPythonPackage rec {
  pname = "concord232";
  version = "0.15";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "JasonCarter80";
    repo = "concord232";
    tag = "v${version}";
    hash = "sha256-qMHFOKuNuk4Z/FDNRqh1nsnA5vCW+9YXGK6d7Td5O5s=";
  };

  build-system = [ setuptools ];

  dependencies = [
    requests
    stevedore
    prettytable
    pyserial
    flask
  ];

  # Package has no tests
  doCheck = false;

  meta = {
    description = "GE Concord 4 RS232 Serial Interface Library and Server";
    homepage = "https://github.com/JasonCarter80/concord232";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}