blob: e91c8a2aeaa89f15e33950c1782cb4e317cc2028 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "wurlitzer";
version = "3.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-v7kUSrnwJIfYArn/idvT+jgtCPc+EtuK3EwvsAzTm9k=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "wurlitzer" ];
enabledTestPaths = [ "test.py" ];
meta = {
description = "Capture C-level output in context managers";
homepage = "https://github.com/minrk/wurlitzer";
changelog = "https://github.com/minrk/wurlitzer/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|