blob: c66530455ccc206c877f7c958cc05a3be3bdc396 (
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
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "standard-telnetlib";
version = "3.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "youknowone";
repo = "python-deadlib";
tag = "v${version}";
hash = "sha256-vhGFTd1yXL4Frqli5D1GwOatwByDjvcP8sxgkdu6Jqg=";
};
sourceRoot = "${src.name}/telnetlib";
build-system = [ setuptools ];
# missing "reads" fixture when using pytest
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "telnetlib" ];
meta = {
description = "Python dead batteries. See PEP 594";
homepage = "https://github.com/youknowone/python-deadlib";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ hexa ];
};
}
|