mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 15:14:13 +00:00
python312Packages.pynecil: init at 0.2.0
This commit is contained in:
parent
1c299b4e8c
commit
2d04810ae3
47
pkgs/development/python-modules/pynecil/default.nix
Normal file
47
pkgs/development/python-modules/pynecil/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user