Commit df9398d4 authored by Martin Joerg's avatar Martin Joerg
Browse files

python3Packages.iterable-io: init at 1.0.0

parent 262a33ed
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "iterable-io";
  version = "1.0.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "pR0Ps";
    repo = "iterable-io";
    rev = "refs/tags/v${version}";
    hash = "sha256-+PSINKS7/FeGHYvkOASA5m+1pBpKfURfylZ8CwKijgA=";
  };

  nativeBuildInputs = [ setuptools ];

  pythonImportsCheck = [ "iterableio" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Library to adapt iterables to a file-like interface";
    homepage = "https://github.com/pR0Ps/iterable-io";
    changelog = "https://github.com/pR0Ps/iterable-io/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.lgpl3Only;
    maintainers = [ lib.maintainers.mjoerg ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5941,6 +5941,8 @@ self: super: with self; {
  itemloaders = callPackage ../development/python-modules/itemloaders { };
  iterable-io = callPackage ../development/python-modules/iterable-io { };
  iteration-utilities = callPackage ../development/python-modules/iteration-utilities { };
  iterative-telemetry = callPackage ../development/python-modules/iterative-telemetry { };