python3Packages.dt8852: init at 1.1.0

This commit is contained in:
Pol Dellaiera
2026-01-11 17:30:08 +01:00
parent 05f7778bc2
commit eff442e7c7
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
pyserial,
}:
buildPythonPackage rec {
pname = "dt8852";
version = "1.1.0";
pyproject = true;
# Not using Codeberg because there's no tagged release there.
src = fetchPypi {
inherit pname version;
hash = "sha256-3WiHJQnlP39CGzxu/sZ1jWcP40tyr2G62H4yYuwS0wA=";
};
build-system = [ setuptools ];
dependencies = [
pyserial
];
# No tests available on PyPi and Codeberg source.
doCheck = false;
pythonImportsCheck = [ "dt8852" ];
meta = {
description = "Dt8852 is a cross-platform Python package and module for reading and controlling CEM DT-8852 and equivalent Sound Level Meter and Data Logger devices";
homepage = "https://codeberg.org/randysimons/dt8852";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ drupol ];
mainProgram = "dt8852";
};
}
+2
View File
@@ -4642,6 +4642,8 @@ self: super: with self; {
dsnap = callPackage ../development/python-modules/dsnap { };
dt8852 = callPackage ../development/python-modules/dt8852 { };
dtfabric = callPackage ../development/python-modules/dtfabric { };
dtlssocket = callPackage ../development/python-modules/dtlssocket { };