1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchFromGitHub,
6 setuptools,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "iterable-io";
12 version = "1.0.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "pR0Ps";
19 repo = "iterable-io";
20 tag = "v${version}";
21 hash = "sha256-+PSINKS7/FeGHYvkOASA5m+1pBpKfURfylZ8CwKijgA=";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25
26 pythonImportsCheck = [ "iterableio" ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
30 meta = {
31 description = "Library to adapt iterables to a file-like interface";
32 homepage = "https://github.com/pR0Ps/iterable-io";
33 changelog = "https://github.com/pR0Ps/iterable-io/blob/v${version}/CHANGELOG.md";
34 license = lib.licenses.lgpl3Only;
35 maintainers = [ lib.maintainers.mjoerg ];
36 };
37}