2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-08-22 20:05:09 +00:00
|
|
|
, jaraco-collections
|
|
|
|
, jaraco-itertools
|
2023-08-04 22:07:22 +00:00
|
|
|
, jaraco-logging
|
|
|
|
, jaraco-stream
|
2023-08-22 20:05:09 +00:00
|
|
|
, jaraco-text
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
2023-08-04 22:07:22 +00:00
|
|
|
, pytz
|
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "irc";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "20.4.0";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "pyproject";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-fSUX9VZta/Oqhdf5jHdYth8NY+6RW/2fb1ZxOXNmRPk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-08-22 20:05:09 +00:00
|
|
|
jaraco-collections
|
|
|
|
jaraco-itertools
|
2023-08-04 22:07:22 +00:00
|
|
|
jaraco-logging
|
|
|
|
jaraco-stream
|
2023-08-22 20:05:09 +00:00
|
|
|
jaraco-text
|
2020-04-24 23:36:52 +00:00
|
|
|
pytz
|
|
|
|
];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"irc"
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "IRC (Internet Relay Chat) protocol library for Python";
|
|
|
|
homepage = "https://github.com/jaraco/irc";
|
2023-08-22 20:05:09 +00:00
|
|
|
changelog = "https://github.com/jaraco/irc/blob/v${version}/NEWS.rst";
|
2020-07-18 16:06:22 +00:00
|
|
|
license = licenses.mit;
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|