Skip to content

Commit

Permalink
python312Packages.nbmake: 1.5.4 -> 1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Dec 23, 2024
1 parent 2b93b3c commit 122b6c9
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions pkgs/development/python-modules/nbmake/default.nix
Original file line number Diff line number Diff line change
@@ -1,49 +1,44 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
poetry-core,
setuptools,
wheel,

# build-system
hatchling,

# dependencies
ipykernel,
nbclient,
nbformat,
pygments,
pytest,
pyyaml,

# tests
pytest-xdist,
pytestCheckHook,
typing-extensions,
}:

buildPythonPackage rec {
pname = "nbmake";
version = "1.5.4";
version = "1.5.5";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchFromGitHub {
owner = "treebeardtech";
repo = "nbmake";
rev = "refs/tags/v${version}";
hash = "sha256-OzjqpipFb5COhqc//Sg6OU65ShPrYe/KtxifToEXveg=";
tag = "v${version}";
hash = "sha256-nT/52xgOEMEImrBhNXAZQrcvCBWuYIcFi5h8yUNdhCI=";
};

build-system = [
poetry-core
setuptools
wheel
hatchling
];

dependencies = [
ipykernel
nbclient
nbformat
pygments
pytest
pyyaml
];

pythonRelaxDeps = [ "nbclient" ];
Expand All @@ -69,7 +64,7 @@ buildPythonPackage rec {
meta = {
description = "Pytest plugin for testing notebooks";
homepage = "https://github.com/treebeardtech/nbmake";
changelog = "https://github.com/treebeardtech/nbmake/releases/tag/v${version}";
changelog = "https://github.com/treebeardtech/nbmake/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
Expand Down

0 comments on commit 122b6c9

Please sign in to comment.