Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 68 lines
Nix
at gcc-offload
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, # build inputs jupyter-client, nbformat, nbconvert, setuptools, # check inputs unittestCheckHook, ipykernel,}:let pname = "nbexec"; version = "0.2.0";inbuildPythonPackage { inherit pname version; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "jsvine"; repo = "nbexec"; rev = "refs/tags/v${version}"; hash = "sha256-Vv6EHX6WlnSmzQAYlO1mHnz5t078z3RQfVfte1+X2pw="; };
build-system = [ setuptools ];
dependencies = [ jupyter-client nbformat nbconvert ];
# TODO there is a warning about debugpy_stream missing nativeCheckInputs = [ unittestCheckHook ipykernel ];
preCheck = '' export HOME=$(mktemp -d) '';
unittestFlagsArray = [ "-s" "test" "-v" ];
pythonImportsCheck = [ "nbexec" ];
__darwinAllowLocalNetworking = true;
meta = with lib; { description = "Dead-simple tool for executing Jupyter notebooks from the command line"; mainProgram = "nbexec"; homepage = "https://github.com/jsvine/nbexec"; changelog = "https://github.com/jsvine/nbexec/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; };}