python312Packages.pynecil: init at 0.2.0

This commit is contained in:
Robert Schütz 2024-08-08 10:49:25 -07:00 committed by Martin Weinelt
parent 1c299b4e8c
commit 2d04810ae3
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{
bleak,
buildPythonPackage,
fetchFromGitHub,
hatch-regex-commit,
hatchling,
lib,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pynecil";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "tr4nt0r";
repo = "pynecil";
rev = "refs/tags/v${version}";
hash = "sha256-57TPgEC7NY75iVj31tdpCOrXUOcsFBy/4XltEHxlNFk=";
};
build-system = [
hatch-regex-commit
hatchling
];
dependencies = [ bleak ];
pythonImportsCheck = [ "pynecil" ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
meta = {
changelog = "https://github.com/tr4nt0r/pynecil/releases/tag/v${version}";
description = "Python library to communicate with Pinecil V2 soldering irons via Bluetooth";
homepage = "https://github.com/tr4nt0r/pynecil";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -11826,6 +11826,8 @@ self: super: with self; {
inherit (pkgs) which;
};
pynecil = callPackage ../development/python-modules/pynecil { };
pynello = callPackage ../development/python-modules/pynello { };
pynest2d = callPackage ../development/python-modules/pynest2d { };