diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-05-06 13:46:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 13:46:16 +0200 |
commit | 49c245472d89728b7df31dc11827ca0c270bc2e7 (patch) | |
tree | e3ab8705471225513b23392d8ce06d71327a9493 /pkgs | |
parent | a62eb3d7f0059f294c241f7a5426a5be3f589c59 (diff) | |
parent | b9a3f504ce03135fbd56b8a7b632aa857d48bc11 (diff) |
Merge pull request #309513 from r-ryantm/auto-update/python311Packages.execnb
python311Packages.execnb: 0.1.5 -> 0.1.6
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/execnb/default.nix | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/execnb/default.nix b/pkgs/development/python-modules/execnb/default.nix index 56b1bf1388ed9..bd3d91a10e513 100644 --- a/pkgs/development/python-modules/execnb/default.nix +++ b/pkgs/development/python-modules/execnb/default.nix @@ -1,34 +1,45 @@ -{ lib -, buildPythonPackage -, fetchPypi -, fastcore -, traitlets -, ipython -, pythonOlder +{ + lib, + buildPythonPackage, + fastcore, + fetchPypi, + ipython, + pythonOlder, + setuptools, + traitlets, }: buildPythonPackage rec { pname = "execnb"; - version = "0.1.5"; - format = "setuptools"; + version = "0.1.6"; + pyproject = true; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-nuAp4OMAfA3u3DJyORjFw7y7ZLsLCKEfxSFIXqNh+k0="; + hash = "sha256-KJ2XEHqFY0SxbAiVPWBFO0cyC0EWgGDso8wt7lBLTgU="; }; - propagatedBuildInputs = [ fastcore traitlets ipython ]; + build-system = [ setuptools ]; + + dependencies = [ + fastcore + ipython + traitlets + ]; # no real tests doCheck = false; + pythonImportsCheck = [ "execnb" ]; meta = with lib; { - homepage = "https://github.com/fastai/execnb"; description = "Execute a jupyter notebook, fast, without needing jupyter"; - mainProgram = "exec_nb"; + homepage = "https://github.com/fastai/execnb"; + changelog = "https://github.com/fastai/execnb/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ rxiao ]; + mainProgram = "exec_nb"; }; } |