Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ty / typstwriter / package.nix
blobe5087a62039a1079938a2515baad24082d01cfd0
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "typstwriter";
9   version = "0.1";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "Bzero";
14     repo = "typstwriter";
15     rev = "V${version}";
16     hash = "sha256-xgBBZTViMzYgxaYb24druUwLqVWdf9utCETC+goLqYk=";
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   };