Commit 7910f748 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 5c7565f0
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -4,17 +4,19 @@
, lib
, python3
, ruff
, testers
, nbqa
}:
python3.pkgs.buildPythonApplication rec {
  pname = "nbqa";
  version = "1.8.7";
  version = "1.9.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "nbQA-dev";
    repo = "nbQA";
    rev = "refs/tags/${version}";
    hash = "sha256-zn+e/svaxeJU9P1sIaRrVuKW0+FM0GLKZTUx3PfuThk=";
    hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY=";
  };

  build-system = with python3.pkgs; [
@@ -90,6 +92,12 @@ python3.pkgs.buildPythonApplication rec {
    "tests/test_include_exclude.py"
  ];

  passthru = {
    tests.version = testers.testVersion {
      package = nbqa;
    };
  };

  meta = {
    homepage = "https://github.com/nbQA-dev/nbQA";
    changelog = "https://nbqa.readthedocs.io/en/latest/history.html";