opentabletdriver: 0.6.5.0 -> 0.6.5.1 (#379384)
[NixPkgs.git] / pkgs / by-name / ty / typstwriter / package.nix
blob0eaecd73880e1313e877ecb4225de36a3d2025dc
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "typstwriter";
9   version = "0.2";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "Bzero";
14     repo = "typstwriter";
15     rev = "V${version}";
16     hash = "sha256-LhK1e6q7nmk13ZW55/1uEKhg7stQLIs+2bdFJDc24bg=";
17   };
19   build-system = [ python3.pkgs.flit-core ];
21   dependencies = with python3.pkgs; [
22     pygments
23     pyside6
24     qtpy
25     send2trash
26     superqt
27   ];
29   optional-dependencies = with python3.pkgs; {
30     tests = [
31       pytest
32       pytest-qt
33     ];
34   };
36   pythonImportsCheck = [ "typstwriter" ];
38   meta = {
39     changelog = "https://github.com/Bzero/typstwriter/releases/tag/V${version}";
40     description = "Integrated editor for the typst typesetting system";
41     homepage = "https://github.com/Bzero/typstwriter";
42     license = lib.licenses.mit;
43     mainProgram = "typstwriter";
44     maintainers = with lib.maintainers; [ drupol ];
45   };