Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
848 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, irctokens, pendulum, freezegun, python,}:
buildPythonPackage rec { pname = "ircstates"; version = "0.12.1"; format = "setuptools"; disabled = pythonOlder "3.6"; # f-strings
src = fetchFromGitHub { owner = "jesopo"; repo = pname; rev = "v${version}"; hash = "sha256-F9yOY3YBacyoUzNTvPs7pxp6yNx08tiq1jWQKhGiagc="; };
propagatedBuildInputs = [ irctokens pendulum ];
nativeCheckInputs = [ freezegun ];
checkPhase = '' ${python.interpreter} -m unittest test '';
pythonImportsCheck = [ "ircstates" ];
meta = with lib; { description = "sans-I/O IRC session state parsing library"; license = licenses.mit; homepage = "https://github.com/jesopo/ircstates"; maintainers = with maintainers; [ hexa ]; };}