File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- python3 ,
3+ python3Packages ,
44 fetchFromGitHub ,
55
66 # optional-dependencies
77 ruff ,
88
99 # tests
1010 versionCheckHook ,
11+
12+ nix-update-script ,
1113} :
1214
1315let
14- nbqa = python3 . pkgs . buildPythonApplication rec {
16+ nbqa = python3Packages . buildPythonApplication rec {
1517 pname = "nbqa" ;
16- version = "1.9.0 " ;
18+ version = "1.9.1 " ;
1719 pyproject = true ;
1820
1921 src = fetchFromGitHub {
2022 owner = "nbQA-dev" ;
2123 repo = "nbQA" ;
2224 rev = "refs/tags/${ version } " ;
23- hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY =" ;
25+ hash = "sha256-qVNJ8f8vUlTCi5DbvG70orcSnulH60UcI5iABtXYUog =" ;
2426 } ;
2527
26- build-system = with python3 . pkgs ; [
28+ build-system = with python3Packages ; [
2729 setuptools
2830 ] ;
2931
3032 optional-dependencies . toolchain =
31- ( with python3 . pkgs ; [
33+ ( with python3Packages ; [
3234 black
3335 blacken-docs
3436 flake8
4244 ruff
4345 ] ;
4446
45- dependencies = with python3 . pkgs ; [
47+ dependencies = with python3Packages ; [
4648 autopep8
4749 ipython
4850 tokenize-rt
6062 '' ;
6163
6264 nativeCheckInputs =
63- ( with python3 . pkgs ; [
65+ ( with python3Packages ; [
6466 autoflake
6567 distutils
6668 mdformat
7173 ] )
7274 ++ lib . flatten ( lib . attrValues optional-dependencies )
7375 ++ [ versionCheckHook ] ;
76+ versionCheckProgramArg = [ "--version" ] ;
7477
7578 disabledTests = [
7679 # Test data not found
98101 nbqa . overridePythonAttrs (
99102 { dependencies , ... } :
100103 {
101- dependencies = dependencies ++ selector python3 . pkgs ;
104+ dependencies = dependencies ++ selector python3Packages ;
102105 doCheck = false ;
103106 }
104107 ) ;
108+
109+ updateScript = nix-update-script { } ;
105110 } ;
106111
107112 meta = {
You can’t perform that action at this time.
0 commit comments