Unverified Commit b3201511 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

python3Packages.dt8852: init at 1.1.0 (#479083)

parents 1389cb40 eff442e7
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -4660,6 +4660,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 { };