python3Packages.irctokens: init at 2.0.0
This commit is contained in:
parent
e7ebd6be80
commit
69ef15309d
34
pkgs/development/python-modules/irctokens/default.nix
Normal file
34
pkgs/development/python-modules/irctokens/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, pyyaml
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "irctokens";
|
||||||
|
version = "2.0.0";
|
||||||
|
disabled = pythonOlder "3.6"; # f-strings
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jesopo";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0kpxn5paailm4xpdlnzxrhjrfgvvg5pp327wd8kl41a0wbqkj4zb";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pyyaml ];
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest test
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "irctokens" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "RFC1459 and IRCv3 protocol tokeniser library for python3";
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = "https://github.com/jesopo/irctokens";
|
||||||
|
maintainers = with maintainers; [ hexa ];
|
||||||
|
};
|
||||||
|
}
|
@ -2965,6 +2965,8 @@ in {
|
|||||||
|
|
||||||
irc = callPackage ../development/python-modules/irc { };
|
irc = callPackage ../development/python-modules/irc { };
|
||||||
|
|
||||||
|
irctokens = callPackage ../development/python-modules/irctokens { };
|
||||||
|
|
||||||
isbnlib = callPackage ../development/python-modules/isbnlib { };
|
isbnlib = callPackage ../development/python-modules/isbnlib { };
|
||||||
|
|
||||||
islpy = callPackage ../development/python-modules/islpy { };
|
islpy = callPackage ../development/python-modules/islpy { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user