python312Packages.kneaddata: init at 0.7.7-alpha (#340230)
[NixPkgs.git] / pkgs / development / python-modules / brother / default.nix
blob7bb9fbc9a17c0e8b7d7afca6c59330225ea15095
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   freezegun,
6   dacite,
7   pysnmp,
8   pytest-asyncio,
9   pytest-error-for-skips,
10   pytestCheckHook,
11   pythonOlder,
12   setuptools,
13   syrupy,
16 buildPythonPackage rec {
17   pname = "brother";
18   version = "4.3.1";
19   pyproject = true;
21   disabled = pythonOlder "3.11";
23   src = fetchFromGitHub {
24     owner = "bieniu";
25     repo = "brother";
26     rev = "refs/tags/${version}";
27     hash = "sha256-fWa5FNBGV8tnJ3CozMicXLGsDvnTjNzU8PdV266MeeQ=";
28   };
30   build-system = [ setuptools ];
32   dependencies = [
33     dacite
34     pysnmp
35   ];
37   nativeCheckInputs = [
38     freezegun
39     pytest-asyncio
40     pytest-error-for-skips
41     pytestCheckHook
42     syrupy
43   ];
45   pythonImportsCheck = [ "brother" ];
47   meta = with lib; {
48     description = "Python wrapper for getting data from Brother laser and inkjet printers via SNMP";
49     homepage = "https://github.com/bieniu/brother";
50     changelog = "https://github.com/bieniu/brother/releases/tag/${version}";
51     license = licenses.asl20;
52     maintainers = with maintainers; [ hexa ];
53   };