mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 07:47:56 +00:00
nbqa: 1.9.0 -> 1.9.1
Diff: https://github.com/nbQA-dev/nbQA/compare/refs/tags/1.9.0...1.9.1 Changelog: https://nbqa.readthedocs.io/en/latest/history.html
This commit is contained in:
parent
d056782c98
commit
7bb56ad6ac
@ -1,6 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
|
||||
# optional-dependencies
|
||||
@ -8,27 +8,29 @@
|
||||
|
||||
# tests
|
||||
versionCheckHook,
|
||||
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
nbqa = python3.pkgs.buildPythonApplication rec {
|
||||
nbqa = python3Packages.buildPythonApplication rec {
|
||||
pname = "nbqa";
|
||||
version = "1.9.0";
|
||||
version = "1.9.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nbQA-dev";
|
||||
repo = "nbQA";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY=";
|
||||
hash = "sha256-qVNJ8f8vUlTCi5DbvG70orcSnulH60UcI5iABtXYUog=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
optional-dependencies.toolchain =
|
||||
(with python3.pkgs; [
|
||||
(with python3Packages; [
|
||||
black
|
||||
blacken-docs
|
||||
flake8
|
||||
@ -42,7 +44,7 @@ let
|
||||
ruff
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
dependencies = with python3Packages; [
|
||||
autopep8
|
||||
ipython
|
||||
tokenize-rt
|
||||
@ -60,7 +62,7 @@ let
|
||||
'';
|
||||
|
||||
nativeCheckInputs =
|
||||
(with python3.pkgs; [
|
||||
(with python3Packages; [
|
||||
autoflake
|
||||
distutils
|
||||
mdformat
|
||||
@ -71,6 +73,7 @@ let
|
||||
])
|
||||
++ lib.flatten (lib.attrValues optional-dependencies)
|
||||
++ [ versionCheckHook ];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
disabledTests = [
|
||||
# Test data not found
|
||||
@ -98,10 +101,12 @@ let
|
||||
nbqa.overridePythonAttrs (
|
||||
{ dependencies, ... }:
|
||||
{
|
||||
dependencies = dependencies ++ selector python3.pkgs;
|
||||
dependencies = dependencies ++ selector python3Packages;
|
||||
doCheck = false;
|
||||
}
|
||||
);
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user