package.nix (805B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage (finalAttrs: { 8 pname = "ipyfilechooser"; 9 version = "0.6.0"; 10 pyproject = true; 11 12 __structuredAttrs = true; 13 14 src = fetchFromGitHub { 15 owner = "crahan"; 16 repo = "ipyfilechooser"; 17 tag = "v${finalAttrs.version}"; 18 hash = "sha256-9MM5BJ2KGWoZMXbcHx9U7XRLKURZ42aTY7avQ+dYUvs="; 19 }; 20 21 build-system = with python3Packages; [ setuptools ]; 22 23 dependencies = with python3Packages; [ ipywidgets ]; 24 25 pythonImportsCheck = [ "ipyfilechooser" ]; 26 27 meta = { 28 description = "Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets"; 29 homepage = "https://github.com/crahan/ipyfilechooser"; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.sikmir ]; 32 }; 33 })
