Commit 93ceb27f authored by Sigmanificient's avatar Sigmanificient
Browse files

python3Packages.eseries: init at 1.2.1-unstable-2023-12-17

parent a23c97c0
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  docopt-subcommands,
  future,
  pytestCheckHook,
  hypothesis,
}:

buildPythonPackage {
  pname = "eseries";
  version = "1.2.1-unstable-2023-12-17";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rob-smallshire";
    repo = "eseries";
    rev = "3becd72de8b1b533b4a637169022231271a934fb"; # no tags
    hash = "sha256-iQBh4L+t24pOBh86wEqu5e6/RUmTQdCX+rOV/H2ywaY=";
  };

  build-system = [ setuptools ];

  dependencies = [
    docopt-subcommands
    future
  ];

  pythonImportsCheck = [ "eseries" ];

  nativeCheckInputs = [
    pytestCheckHook
    hypothesis
  ];

  meta = {
    description = "Find value in the E-series used for electronic components values";
    homepage = "https://github.com/rob-smallshire/eseries";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sigmanificient ];
    mainProgram = "eseries";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4293,6 +4293,8 @@ self: super: with self; {
  es-client = callPackage ../development/python-modules/es-client { };
  eseries = callPackage ../development/python-modules/eseries { };
  esig = callPackage ../development/python-modules/esig { };
  espeak-phonemizer = callPackage ../development/python-modules/espeak-phonemizer { };