Commit c7ca9e5f authored by V's avatar V
Browse files

python3Packages.ircstates: 0.11.8 -> 0.12.1

Change-Id: I14500fc1711a018b03d1ddcf3acc108ee3f731dc
parent b7ced4be
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -4,19 +4,20 @@
, pythonOlder
, irctokens
, pendulum
, freezegun
, python
}:

buildPythonPackage rec {
  pname = "ircstates";
  version = "0.11.8";
  version = "0.12.1";
  disabled = pythonOlder "3.6";  # f-strings

  src = fetchFromGitHub {
    owner = "jesopo";
    repo = pname;
    rev = "v${version}";
    sha256 = "0scxqcgby4vzh2q937r0wy2mb46aghjf47q3z6fp6di1b6hlj7zh";
    hash = "sha256-F9yOY3YBacyoUzNTvPs7pxp6yNx08tiq1jWQKhGiagc=";
  };

  propagatedBuildInputs = [
@@ -24,6 +25,10 @@ buildPythonPackage rec {
    pendulum
  ];

  nativeCheckInputs = [
    freezegun
  ];

  checkPhase = ''
    ${python.interpreter} -m unittest test
  '';