From 8d1463eb0c25524657fe84950359269f0eebc7e7 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Tue, 15 Aug 2023 09:28:10 +1200 Subject: [PATCH] build: Use nbQA from nixpkgs Available since . --- shell.nix | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/shell.nix b/shell.nix index 365857f0..8e8ac7d3 100644 --- a/shell.nix +++ b/shell.nix @@ -15,24 +15,6 @@ let python.withPackages ( ps: [ - ( - ps.buildPythonPackage rec { - pname = "nbqa"; - version = "1.6.4"; - src = ps.fetchPypi { - inherit pname version; - hash = "sha256-H7y+N+9TBJW9fwjlO7g4qGmwdKD771eF7ScNNwphPrA="; - }; - buildInputs = [ - ps.tomli - ps.tokenize-rt - ]; - propagatedBuildInputs = [ - ps.ipython - ps.tokenize-rt - ]; - } - ) ps.mypy ps.pylint ps.types-python-dateutil @@ -57,6 +39,7 @@ in pkgs.deadnix pkgs.gitFull pkgs.gitlint + pkgs.nbqa pkgs.niv pkgs.nodePackages.prettier pkgs.pre-commit