mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
python312Packages.pyegps: init at 0.2.5
This commit is contained in:
parent
a22545c55d
commit
4f44434611
41
pkgs/development/python-modules/pyegps/default.nix
Normal file
41
pkgs/development/python-modules/pyegps/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
pyusb,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyegps";
|
||||
version = "0.2.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gnumpi";
|
||||
repo = "pyegps";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-iixk2sFa4KAayKFmQKtPjvoIYgxCMXnfkliKhyO2ba4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [ pyusb ];
|
||||
|
||||
pythonImportsCheck = [ "pyegps" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/gnumpi/pyEGPS/releases/tag/v${version}";
|
||||
description = "Controlling Energenie Power Strips with python";
|
||||
homepage = "https://github.com/gnumpi/pyegps";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -11312,6 +11312,8 @@ self: super: with self; {
|
||||
|
||||
pyefergy = callPackage ../development/python-modules/pyefergy { };
|
||||
|
||||
pyegps = callPackage ../development/python-modules/pyegps { };
|
||||
|
||||
pyeight = callPackage ../development/python-modules/pyeight { };
|
||||
|
||||
pyelftools = callPackage ../development/python-modules/pyelftools { };
|
||||
|
Loading…
Reference in New Issue
Block a user