vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / te / telegraph / package.nix
blob332c09884c6543dc86a394d74dba5008febe99bf
1 { lib
2 , desktop-file-utils
3 , fetchFromGitHub
4 , gobject-introspection
5 , gtk4
6 , libadwaita
7 , meson
8 , ninja
9 , pkg-config
10 , python3
11 , stdenv
12 , wrapGAppsHook4
15 stdenv.mkDerivation (finalAttrs: {
16   pname = "telegraph";
17   version = "0.1.8";
19   src = fetchFromGitHub {
20     owner = "fkinoshita";
21     repo = "Telegraph";
22     rev = "v${finalAttrs.version}";
23     hash = "sha256-m36YHIo1PaDunnC12feSAbwwG1+E7s90fzOKskHtIag=";
24   };
26   nativeBuildInputs = [
27     desktop-file-utils
28     gobject-introspection
29     meson
30     ninja
31     pkg-config
32     wrapGAppsHook4
33   ];
35   buildInputs = [
36     gtk4
37     libadwaita
38     (python3.withPackages (ps: with ps; [
39       pygobject3
40     ]))
41   ];
43   meta = with lib; {
44     changelog = "https://github.com/fkinoshita/Telegraph/releases/v${finalAttrs.version}";
45     description = "Write and decode Morse";
46     homepage = "https://github.com/fkinoshita/Telegraph";
47     license = licenses.gpl3Only;
48     mainProgram = "telegraph";
49     maintainers = with maintainers; [ michaelgrahamevans ];
50     platforms = platforms.linux;
51   };