Commit b7a969f2 authored by Mario Rodas's avatar Mario Rodas
Browse files
parent 3d06f731
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -21,18 +21,24 @@

buildPythonPackage rec {
  pname = "nvchecker";
  version = "2.13.1";
  version = "2.14";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "lilydjwg";
    repo = pname;
    repo = "nvchecker";
    rev = "v${version}";
    hash = "sha256-q+az9oaxxIOv/vLFpkT3cF5GDJsa0Cid4oPWEKg5s7M=";
    hash = "sha256-QqfF8PGY8sULv1x0blu21ucWxqhOpQ7jyLuRCzDIpco=";
  };

  postPatch = ''
    # Fix try/except syntax. Remove with the next release
    substituteInPlace tests/test_jq.py \
      --replace-warn "except jq" "except ImportError"
  '';

  nativeBuildInputs = [
    setuptools
    docutils