Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / hatch-jupyter-builder / default.nix
blobfe641977812f4374eee5f8b54891b4bdcc18b9db
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , hatchling
5 , pytest-mock
6 , pytestCheckHook
7 , tomli
8 , twine
9 }:
11 buildPythonPackage rec {
12   pname = "hatch-jupyter-builder";
13   version = "0.8.3";
14   format = "pyproject";
16   src = fetchFromGitHub {
17     owner = "jupyterlab";
18     repo = "hatch-jupyter-builder";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-UywhFJ8d1+lSFOF5ECsknDeQuO7ppckdy5IqAT14ius=";
21   };
23   nativeBuildInputs = [
24     hatchling
25   ];
27   nativeCheckInputs = [
28     pytest-mock
29     pytestCheckHook
30     tomli
31     twine
32   ];
34   disabledTests = [
35     # tests pip install, which unsuprisingly fails
36     "test_hatch_build"
37   ];
39   meta = with lib; {
40     changelog = "https://github.com/jupyterlab/hatch-jupyter-builder/releases/tag/v${version}";
41     description = "hatch plugin to help build Jupyter packages";
42     homepage = "https://github.com/jupyterlab/hatch-jupyter-builder";
43     license = licenses.bsd3;
44     maintainers = with maintainers; [ ];
45   };