Unverified Commit e69ddddc authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.ircstates: 0.12.1 -> 0.13.0

parent be9c69ad
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -2,36 +2,36 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  setuptools,
  irctokens,
  pendulum,
  freezegun,
  python,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "ircstates";
  version = "0.12.1";
  format = "setuptools";
  disabled = pythonOlder "3.6"; # f-strings
  version = "0.13.0";
  pyproject = true;

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

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    irctokens
    pendulum
  ];

  nativeCheckInputs = [ freezegun ];

  checkPhase = ''
    ${python.interpreter} -m unittest test
  '';
  nativeCheckInputs = [
    freezegun
    unittestCheckHook
  ];

  pythonImportsCheck = [ "ircstates" ];