1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "wrapio";
11 version = "2.0.0";
12 pyproject = true;
13
14 disabled = pythonOlder "3.5";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-CUocIbdZ/tJQCxAHzhFpB267ynlXf8Mu+thcRRc0yeg=";
19 };
20
21 build-system = [ setuptools ];
22
23 pythonImportsCheck = [ "wrapio" ];
24
25 meta = {
26 description = "Handling event-based streams";
27 homepage = "https://github.com/Exahilosys/wrapio";
28 changelog = "https://github.com/Exahilosys/wrapio/releases/tag/v${version}";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ sfrijters ];
31 };
32}