5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
51 lines
909 B
Nix
51 lines
909 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, six
|
|
, jaraco-logging
|
|
, jaraco-text
|
|
, jaraco-stream
|
|
, pytz
|
|
, jaraco-itertools
|
|
, setuptools-scm
|
|
, jaraco-collections
|
|
, importlib-metadata
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "irc";
|
|
version = "20.1.0";
|
|
format = "pyproject";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-tvc3ky3UeR87GOMZ3nt9rwLSKFpr6iY9EB9NjlU4B+w=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
importlib-metadata
|
|
jaraco-logging
|
|
jaraco-text
|
|
jaraco-stream
|
|
pytz
|
|
jaraco-itertools
|
|
jaraco-collections
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "irc" ];
|
|
|
|
meta = with lib; {
|
|
description = "IRC (Internet Relay Chat) protocol library for Python";
|
|
homepage = "https://github.com/jaraco/irc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [];
|
|
};
|
|
}
|