nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 46 lines 988 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 pytest-mock, 7 pytestCheckHook, 8 twine, 9}: 10 11buildPythonPackage rec { 12 pname = "hatch-jupyter-builder"; 13 version = "0.9.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "jupyterlab"; 18 repo = "hatch-jupyter-builder"; 19 tag = "v${version}"; 20 hash = "sha256-QDWHVdjtexUNGRL+dVehdBwahSW2HmNkZKkQyuOghyI="; 21 }; 22 23 build-system = [ hatchling ]; 24 25 dependencies = [ hatchling ]; 26 27 nativeCheckInputs = [ 28 pytest-mock 29 pytestCheckHook 30 twine 31 ]; 32 33 disabledTests = [ 34 # tests pip install, which unsurprisingly fails 35 "test_hatch_build" 36 ]; 37 38 meta = { 39 changelog = "https://github.com/jupyterlab/hatch-jupyter-builder/releases/tag/v${version}"; 40 description = "Hatch plugin to help build Jupyter packages"; 41 mainProgram = "hatch-jupyter-builder"; 42 homepage = "https://github.com/jupyterlab/hatch-jupyter-builder"; 43 license = lib.licenses.bsd3; 44 maintainers = [ ]; 45 }; 46}