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