3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/irc/default.nix
Sandro Jäckel ab126c9a62 python3Packages: provide setuptools-scm with toml[i] by default and remove duplicated toml packages
Some packages seem to still require toml despite setuptools-scm having switched to tomli.
If it is missing the version number in dist.into is set to 0.0.0 and silently all version pins break.
2021-09-05 15:00:10 +02:00

40 lines
871 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 = "19.0.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "99fd5d1fa1d054dee4fbb81e0d5193dc1e8200db751d5da9a97850a62162b9ab";
};
doCheck = false;
pythonImportsCheck = [ "irc" ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
six
importlib-metadata
jaraco_logging
jaraco_text
jaraco_stream
pytz
jaraco_itertools
jaraco_collections
];
meta = with lib; {
description = "IRC (Internet Relay Chat) protocol library for Python";
homepage = "https://github.com/jaraco/irc";
license = licenses.mit;
maintainers = [];
};
}