biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / netio / default.nix
blob305b177b82455ae8f525efa7b63312c4ad9fd156
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pyopenssl,
7   pythonOlder,
8   requests,
9 }:
11 buildPythonPackage rec {
12   pname = "netio";
13   version = "1.0.13";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "netioproducts";
20     repo = "PyNetio";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-s/X2WGhQXYsbo+ZPpkVSF/vclaThYYNHu0UY0yCnfPA=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27   ];
29   pythonRelaxDeps = [ "pyopenssl" ];
31   propagatedBuildInputs = [
32     requests
33     pyopenssl
34   ];
36   pythonImportsCheck = [ "Netio" ];
38   # Module has no tests
39   doCheck = false;
41   meta = with lib; {
42     description = "Module for interacting with NETIO devices";
43     mainProgram = "Netio";
44     homepage = "https://github.com/netioproducts/PyNetio";
45     changelog = "https://github.com/netioproducts/PyNetio/blob/v${version}/CHANGELOG.md";
46     license = licenses.mit;
47     maintainers = with maintainers; [ fab ];
48   };