nixpkgs/pkgs/development/python-modules/irc/default.nix

41 lines
886 B
Nix
Raw Normal View History

2020-06-23 01:08:55 +00:00
{ lib, buildPythonPackage, fetchPypi, isPy3k
2018-09-03 00:21:37 +00:00
, six, jaraco_logging, jaraco_text, jaraco_stream, pytz, jaraco_itertools
, setuptools-scm, jaraco_collections, importlib-metadata, toml
}:
2018-09-03 00:21:37 +00:00
buildPythonPackage rec {
pname = "irc";
2020-09-30 12:45:03 +00:00
version = "19.0.1";
2018-09-03 00:21:37 +00:00
2019-01-18 11:35:42 +00:00
disabled = !isPy3k;
2018-09-03 00:21:37 +00:00
src = fetchPypi {
inherit pname version;
2020-09-30 12:45:03 +00:00
sha256 = "99fd5d1fa1d054dee4fbb81e0d5193dc1e8200db751d5da9a97850a62162b9ab";
2018-09-03 00:21:37 +00:00
};
doCheck = false;
2020-09-18 19:53:24 +00:00
pythonImportsCheck = [ "irc" ];
nativeBuildInputs = [ setuptools-scm ];
2018-09-03 00:21:37 +00:00
propagatedBuildInputs = [
six
2019-10-24 06:47:36 +00:00
importlib-metadata
2018-09-03 00:21:37 +00:00
jaraco_logging
jaraco_text
jaraco_stream
pytz
jaraco_itertools
jaraco_collections
2020-09-18 19:53:24 +00:00
toml
2018-09-03 00:21:37 +00:00
];
2020-06-23 01:08:55 +00:00
meta = with lib; {
description = "IRC (Internet Relay Chat) protocol library for Python";
homepage = "https://github.com/jaraco/irc";
license = licenses.mit;
maintainers = [];
};
2018-09-03 00:21:37 +00:00
}