tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.umodbus: init at 1.0.4
Fabian Affolter
3 years ago
25ede38d
f103fde3
+44
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
umodbus
default.nix
top-level
python-packages.nix
+42
pkgs/development/python-modules/umodbus/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, pyserial
5
5
+
, pytestCheckHook
6
6
+
, pythonOlder
7
7
+
, setuptools
8
8
+
}:
9
9
+
10
10
+
buildPythonPackage rec {
11
11
+
pname = "umodbus";
12
12
+
version = "1.0.4";
13
13
+
format = "setuptools";
14
14
+
15
15
+
disabled = pythonOlder "3.7";
16
16
+
17
17
+
src = fetchFromGitHub {
18
18
+
owner = "AdvancedClimateSystems";
19
19
+
repo = "uModbus";
20
20
+
rev = "refs/tags/${version}";
21
21
+
hash = "sha256-5IXadb5mjrMwr+L9S1iMN5kba5VGrzYt1p8nBvvLCh4=";
22
22
+
};
23
23
+
24
24
+
propagatedBuildInputs = [
25
25
+
pyserial
26
26
+
];
27
27
+
28
28
+
checkInputs = [
29
29
+
pytestCheckHook
30
30
+
];
31
31
+
32
32
+
pythonImportsCheck = [
33
33
+
"umodbus"
34
34
+
];
35
35
+
36
36
+
meta = with lib; {
37
37
+
description = "Implementation of the Modbus protocol";
38
38
+
homepage = "https://github.com/AdvancedClimateSystems/uModbus/";
39
39
+
license = with licenses; [ mpl20 ];
40
40
+
maintainers = with maintainers; [ fab ];
41
41
+
};
42
42
+
}
+2
pkgs/top-level/python-packages.nix
···
11470
11470
11471
11471
umap-learn = callPackage ../development/python-modules/umap-learn { };
11472
11472
11473
11473
+
umodbus = callPackage ../development/python-modules/umodbus { };
11474
11474
+
11473
11475
u-msgpack-python = callPackage ../development/python-modules/u-msgpack-python { };
11474
11476
11475
11477
unasync = callPackage ../development/python-modules/unasync { };