1{ lib
2, buildPythonPackage
3, fetchPypi
4, jaraco-collections
5, jaraco-itertools
6, jaraco-logging
7, jaraco-stream
8, jaraco-text
9, pytestCheckHook
10, pythonOlder
11, pytz
12, setuptools-scm
13}:
14
15buildPythonPackage rec {
16 pname = "irc";
17 version = "20.3.0";
18 format = "pyproject";
19
20 disabled = pythonOlder "3.8";
21
22 src = fetchPypi {
23 inherit pname version;
24 hash = "sha256-JFteqYqwAlZnYx53alXjGRfmDvcIxgEC8hmLyfURMjY=";
25 };
26
27 nativeBuildInputs = [
28 setuptools-scm
29 ];
30
31 propagatedBuildInputs = [
32 jaraco-collections
33 jaraco-itertools
34 jaraco-logging
35 jaraco-stream
36 jaraco-text
37 pytz
38 ];
39
40 nativeCheckInputs = [
41 pytestCheckHook
42 ];
43
44 pythonImportsCheck = [
45 "irc"
46 ];
47
48 meta = with lib; {
49 description = "IRC (Internet Relay Chat) protocol library for Python";
50 homepage = "https://github.com/jaraco/irc";
51 changelog = "https://github.com/jaraco/irc/blob/v${version}/NEWS.rst";
52 license = licenses.mit;
53 maintainers = with maintainers; [ ];
54 };
55}