mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
56 lines
1002 B
Nix
56 lines
1002 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jaraco-collections
|
|
, jaraco-itertools
|
|
, jaraco-logging
|
|
, jaraco-stream
|
|
, jaraco-text
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pytz
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "irc";
|
|
version = "20.3.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-JFteqYqwAlZnYx53alXjGRfmDvcIxgEC8hmLyfURMjY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
jaraco-collections
|
|
jaraco-itertools
|
|
jaraco-logging
|
|
jaraco-stream
|
|
jaraco-text
|
|
pytz
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"irc"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "IRC (Internet Relay Chat) protocol library for Python";
|
|
homepage = "https://github.com/jaraco/irc";
|
|
changelog = "https://github.com/jaraco/irc/blob/v${version}/NEWS.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|