File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1- { black
2- , blacken-docs
3- , fetchFromGitHub
4- , lib
5- , python3
6- , ruff
1+ {
2+ lib ,
3+ python3 ,
4+ fetchFromGitHub ,
5+
6+ # optional-dependencies
7+ black ,
8+ blacken-docs ,
9+ ruff ,
10+
11+ # passthru
12+ testers ,
13+ nbqa ,
714} :
815python3 . pkgs . buildPythonApplication rec {
916 pname = "nbqa" ;
10- version = "1.8.7 " ;
17+ version = "1.9.0 " ;
1118 pyproject = true ;
1219
1320 src = fetchFromGitHub {
1421 owner = "nbQA-dev" ;
1522 repo = "nbQA" ;
1623 rev = "refs/tags/${ version } " ;
17- hash = "sha256-zn+e/svaxeJU9P1sIaRrVuKW0+FM0GLKZTUx3PfuThk =" ;
24+ hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY =" ;
1825 } ;
1926
2027 build-system = with python3 . pkgs ; [
@@ -33,7 +40,8 @@ python3.pkgs.buildPythonApplication rec {
3340 ruff = [ ruff ] ;
3441 } ;
3542
36- dependencies = with python3 . pkgs ;
43+ dependencies =
44+ with python3 . pkgs ;
3745 [
3846 autopep8
3947 ipython
@@ -90,6 +98,12 @@ python3.pkgs.buildPythonApplication rec {
9098 "tests/test_include_exclude.py"
9199 ] ;
92100
101+ passthru = {
102+ tests . version = testers . testVersion {
103+ package = nbqa ;
104+ } ;
105+ } ;
106+
93107 meta = {
94108 homepage = "https://github.com/nbQA-dev/nbQA" ;
95109 changelog = "https://nbqa.readthedocs.io/en/latest/history.html" ;
Original file line number Diff line number Diff line change @@ -10656,8 +10656,6 @@ with pkgs;
1065610656
1065710657 nb = callPackage ../tools/misc/nb { };
1065810658
10659- nbqa = callPackage ../tools/misc/nbqa { };
10660-
1066110659 kb = callPackage ../tools/misc/kb { };
1066210660
1066310661 notable = callPackage ../applications/misc/notable { };
You can’t perform that action at this time.
0 commit comments