python3Packages.simple-pid: init at 2.0.1
Dependency for the simple-pid-controller home-assistant component.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "simple-pid";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "m-lundberg";
|
||||
repo = "simple-pid";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-DKi0ODnhoY/Pqzd6Zlvd1gMlFtzivigO0xThz35TBf8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"simple_pid"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A simple and easy to use PID controller in Python";
|
||||
homepage = "https://github.com/m-lundberg/simple-pid";
|
||||
changelog = "https://github.com/m-lundberg/simple-pid/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
})
|
||||
@@ -17871,6 +17871,8 @@ self: super: with self; {
|
||||
|
||||
simple-parsing = callPackage ../development/python-modules/simple-parsing { };
|
||||
|
||||
simple-pid = callPackage ../development/python-modules/simple-pid { };
|
||||
|
||||
simple-rest-client = callPackage ../development/python-modules/simple-rest-client { };
|
||||
|
||||
simple-rlp = callPackage ../development/python-modules/simple-rlp { };
|
||||
|
||||
Reference in New Issue
Block a user