biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyoppleio / default.nix
blobb9ef0e23a73f3ac9a9cb7b1e800346dba008d335
2   lib,
3   buildPythonPackage,
4   crc16,
5   fetchPypi,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pyoppleio";
12   version = "1.0.7";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-S1w3pPqhX903kkXUq9ALz0+zRvNGOimLughRRVKjV8E=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [ crc16 ];
26   # Module has no tests
27   doCheck = false;
29   pythonImportsCheck = [ "pyoppleio" ];
31   meta = with lib; {
32     description = "Library for interacting with OPPLE lights";
33     homepage = "https://github.com/jedmeng/python-oppleio";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ fab ];
36     mainProgram = "oppleio";
37   };