Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
790 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, pyyaml, unittestCheckHook,}:
buildPythonPackage rec { pname = "irctokens"; version = "2.0.2"; pyproject = true;
disabled = pythonOlder "3.6"; # f-strings
src = fetchFromGitHub { owner = "jesopo"; repo = "irctokens"; rev = "v${version}"; hash = "sha256-Y9NBqxGUkt48hnXxsmfydHkJmWWb+sRrElV8C7l9bpw="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pyyaml unittestCheckHook ];
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 ]; };}