blob: ac9afc7274ff580fa5fa5507a08dbe0a5aa0b26f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pyyaml,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "irctokens";
version = "2.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jesopo";
repo = "irctokens";
rev = "v${version}";
hash = "sha256-Y9NBqxGUkt48hnXxsmfydHkJmWWb+sRrElV8C7l9bpw=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pyyaml
unittestCheckHook
];
pythonImportsCheck = [ "irctokens" ];
meta = {
description = "RFC1459 and IRCv3 protocol tokeniser library for python3";
license = lib.licenses.mit;
homepage = "https://github.com/jesopo/irctokens";
maintainers = with lib.maintainers; [ hexa ];
};
}
|