blob: 570fb4b5e8e700d8c24aa04d242ec18471be7d6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "gentools";
version = "1.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "ariebovenberg";
repo = "gentools";
tag = "v${version}";
hash = "sha256-+6KTFxOpwvGOCqy6JU87gOZmDa6MvjR10qES5wIfrjI=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gentools" ];
meta = {
description = "Tools for generators, generator functions, and generator-based coroutines";
homepage = "https://gentools.readthedocs.io/";
changelog = "https://github.com/ariebovenberg/gentools/blob/v${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|