biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyegps / default.nix
blobc89fd46ec23a1b7479091af4b55a460573e6641b
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   pytestCheckHook,
6   pyusb,
7   setuptools,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "pyegps";
13   version = "0.2.5";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "gnumpi";
18     repo = "pyegps";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-iixk2sFa4KAayKFmQKtPjvoIYgxCMXnfkliKhyO2ba4=";
21   };
23   build-system = [
24     setuptools
25     setuptools-scm
26   ];
28   dependencies = [ pyusb ];
30   pythonImportsCheck = [ "pyegps" ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   meta = {
35     changelog = "https://github.com/gnumpi/pyEGPS/releases/tag/v${version}";
36     description = "Controlling Energenie Power Strips with python";
37     homepage = "https://github.com/gnumpi/pyegps";
38     license = lib.licenses.asl20;
39     maintainers = with lib.maintainers; [ dotlambda ];
40   };