Skip to content

Commit 0922a79

Browse files
typewriter: init at 0.1.0 (#405758)
2 parents ff7250b + c946281 commit 0922a79

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitLab,
5+
rustPlatform,
6+
meson,
7+
ninja,
8+
pkg-config,
9+
rustc,
10+
cargo,
11+
wrapGAppsHook4,
12+
blueprint-compiler,
13+
desktop-file-utils,
14+
appstream-glib,
15+
openssl,
16+
libadwaita,
17+
libpanel,
18+
gtksourceview5,
19+
}:
20+
stdenv.mkDerivation (finalAttrs: {
21+
pname = "typewriter";
22+
version = "0.1.0";
23+
24+
src = fetchFromGitLab {
25+
domain = "gitlab.gnome.org";
26+
owner = "JanGernert";
27+
repo = "typewriter";
28+
tag = "v.${finalAttrs.version}";
29+
hash = "sha256-c4wh59RNYMyK1rwoxzjhDCtnGnAxGABAu5cugV3P0zU=";
30+
};
31+
32+
cargoDeps = rustPlatform.fetchCargoVendor {
33+
inherit (finalAttrs) pname version src;
34+
hash = "sha256-YvzVpSAPORxjvbGQqRK1V8DKcF12NUOGOgmegJSODQc=";
35+
};
36+
37+
strictDeps = true;
38+
39+
nativeBuildInputs = [
40+
meson
41+
ninja
42+
pkg-config
43+
rustPlatform.cargoSetupHook
44+
rustc
45+
cargo
46+
wrapGAppsHook4
47+
blueprint-compiler
48+
desktop-file-utils
49+
appstream-glib
50+
];
51+
52+
buildInputs = [
53+
openssl
54+
libadwaita
55+
libpanel
56+
gtksourceview5
57+
];
58+
59+
meta = {
60+
mainProgram = "typewriter";
61+
description = "Create documents with typst";
62+
homepage = "https://gitlab.gnome.org/JanGernert/typewriter";
63+
changelog = "https://gitlab.gnome.org/JanGernert/typewriter/-/releases/v.${finalAttrs.version}";
64+
platforms = lib.platforms.linux;
65+
license = lib.licenses.gpl3Plus;
66+
maintainers = [ lib.maintainers.awwpotato ];
67+
};
68+
})

0 commit comments

Comments
 (0)