nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pyserial,
6 sockio,
7}:
8
9buildPythonPackage rec {
10 pname = "serialio";
11 version = "2.4.0";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "tiagocoutinho";
16 repo = "serialio";
17 tag = "v${version}";
18 hash = "sha256-9TRGT0wpoRRcHqnH1XzlMBh0IcVzdEcOzN7hkeYnoW4=";
19 };
20
21 propagatedBuildInputs = [
22 pyserial
23 sockio
24 ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "serialio" ];
30
31 meta = {
32 description = "Library for concurrency agnostic serial communication";
33 homepage = "https://github.com/tiagocoutinho/serialio";
34 license = with lib.licenses; [ gpl3Plus ];
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}