python312Packages.yoda: 2.0.1 -> 2.0.2
[NixPkgs.git] / pkgs / development / python-modules / irc / default.nix
blobd81577d40bbf185ddc512cc37ce662721fe2d2e2
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   importlib-resources,
17 buildPythonPackage rec {
18   pname = "irc";
19   version = "20.5.0";
20   format = "pyproject";
22   disabled = pythonOlder "3.8";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-jdv9GfcSBM7Ount8cnJLFbP6h7q16B5Fp1vvc2oaPHY=";
27   };
29   nativeBuildInputs = [ setuptools-scm ];
31   propagatedBuildInputs = [
32     jaraco-collections
33     jaraco-itertools
34     jaraco-logging
35     jaraco-stream
36     jaraco-text
37     pytz
38   ] ++ lib.optionals (pythonOlder "3.12") [ importlib-resources ];
40   nativeCheckInputs = [ pytestCheckHook ];
42   __darwinAllowLocalNetworking = true;
44   pythonImportsCheck = [ "irc" ];
46   meta = with lib; {
47     description = "IRC (Internet Relay Chat) protocol library for Python";
48     homepage = "https://github.com/jaraco/irc";
49     changelog = "https://github.com/jaraco/irc/blob/v${version}/NEWS.rst";
50     license = licenses.mit;
51     maintainers = [ ];
52   };