commit d1a5b8a247d2cab7205f7d82d92f378ad90d47c0 parent 43fb2ee890bd68c10e0933a9fdb7e19a1603b201 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Wed, 4 Nov 2026 15:46:38 +0400 Add ipyfilechooser Diffstat:
| A | pkgs/by-name/ip/ipyfilechooser/package.nix | | | 33 | +++++++++++++++++++++++++++++++++ |
1 file changed, 33 insertions(+), 0 deletions(-)
diff --git a/pkgs/by-name/ip/ipyfilechooser/package.nix b/pkgs/by-name/ip/ipyfilechooser/package.nix @@ -0,0 +1,33 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage (finalAttrs: { + pname = "ipyfilechooser"; + version = "0.6.0"; + pyproject = true; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "crahan"; + repo = "ipyfilechooser"; + tag = "v${finalAttrs.version}"; + hash = "sha256-9MM5BJ2KGWoZMXbcHx9U7XRLKURZ42aTY7avQ+dYUvs="; + }; + + build-system = with python3Packages; [ setuptools ]; + + dependencies = with python3Packages; [ ipywidgets ]; + + pythonImportsCheck = [ "ipyfilechooser" ]; + + meta = { + description = "Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets"; + homepage = "https://github.com/crahan/ipyfilechooser"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + }; +})
