python311Packages.nbmerge: move to top-level attribute

This commit is contained in:
natsukium 2024-07-05 15:46:09 +09:00
parent e036b0ebbc
commit befdba6730
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
4 changed files with 7 additions and 11 deletions

View File

@ -1,31 +1,28 @@
{ {
lib, lib,
buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
setuptools, python3Packages,
nbformat,
pytestCheckHook,
}: }:
buildPythonPackage rec { python3Packages.buildPythonApplication rec {
pname = "nbmerge"; pname = "nbmerge";
version = "0.0.4"; version = "0.0.4";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jbn"; owner = "jbn";
repo = pname; repo = "nbmerge";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Uqs/SO/AculHCFYcbjW08kLQX5GSU/eAwkN2iy/vhLM="; hash = "sha256-Uqs/SO/AculHCFYcbjW08kLQX5GSU/eAwkN2iy/vhLM=";
}; };
patches = [ ./pytest-compatibility.patch ]; patches = [ ./pytest-compatibility.patch ];
nativeBuildInputs = [ setuptools ]; build-system = [ python3Packages.setuptools ];
propagatedBuildInputs = [ nbformat ]; dependencies = [ python3Packages.nbformat ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ python3Packages.pytestCheckHook ];
postCheck = '' postCheck = ''
patchShebangs . patchShebangs .

View File

@ -308,6 +308,7 @@ mapAliases ({
mrkd = throw "mrkd has been promoted to a top-level attribute name: `pkgs.mrkd`"; # added 2023-08-01 mrkd = throw "mrkd has been promoted to a top-level attribute name: `pkgs.mrkd`"; # added 2023-08-01
multi_key_dict = multi-key-dict; # added 2023-11-05 multi_key_dict = multi-key-dict; # added 2023-11-05
mutmut = throw "mutmut has been promoted to a top-level attribute name: `pkgs.mutmut`"; # added 2022-10-02 mutmut = throw "mutmut has been promoted to a top-level attribute name: `pkgs.mutmut`"; # added 2022-10-02
nbmerge = throw "nbmerge has moved to pkgs.nbmerge"; # added 2024-07-05
net2grid = gridnet; # add 2022-04-22 net2grid = gridnet; # add 2022-04-22
nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08 nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08
ninja-python = ninja; # add 2022-08-03 ninja-python = ninja; # add 2022-08-03

View File

@ -8790,8 +8790,6 @@ self: super: with self; {
nbmake = callPackage ../development/python-modules/nbmake { }; nbmake = callPackage ../development/python-modules/nbmake { };
nbmerge = callPackage ../development/python-modules/nbmerge { };
nbsmoke = callPackage ../development/python-modules/nbsmoke { }; nbsmoke = callPackage ../development/python-modules/nbsmoke { };
nbsphinx = callPackage ../development/python-modules/nbsphinx { }; nbsphinx = callPackage ../development/python-modules/nbsphinx { };