Skip to content

Commit bd86b43

Browse files
author
aucub
committed
venera: init at 1.0.8
1 parent 946dbfc commit bd86b43

File tree

2 files changed

+1455
-0
lines changed

2 files changed

+1455
-0
lines changed

pkgs/by-name/ve/venera/package.nix

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
flutter,
5+
webkitgtk_4_1,
6+
pkg-config,
7+
copyDesktopItems,
8+
makeDesktopItem,
9+
}:
10+
flutter.buildFlutterApplication rec {
11+
pname = "venera";
12+
version = "1.0.8";
13+
14+
src = fetchFromGitHub {
15+
owner = "venera-app";
16+
repo = "venera";
17+
rev = "refs/tags/v${version}";
18+
hash = "sha256-zkV2EnTFjrP/XGH55htJVhC+njcatuto3/0FoayR2zc=";
19+
};
20+
21+
pubspecLock = lib.importJSON ./pubspec.lock.json;
22+
23+
gitHashes = {
24+
desktop_webview_window = "sha256-15tw3gLN9e886QjBFuYP34KLD1lN8AmQYXVza5Bvs40=";
25+
flutter_qjs = "sha256-IeOuw2oh3WpuYQgfE77BoPU8Qukp4l8SSmZtHebKU4M=";
26+
flutter_to_arch = "sha256-DdP82Bdl58XW/BxMyWV3Vh4JYC2DNTjZcQB0fvw72fA=";
27+
lodepng_flutter = "sha256-puw+eVe/ZtzV+PTsC0WmP0YLuWu5slFY0r0v/SHyzHI=";
28+
photo_view = "sha256-Z+9xgvk8YS+bgCbBW7BBY72tV6JUq2kCX5OwKFK4YPE=";
29+
scrollable_positioned_list = "sha256-6XmBlNxE7DEqY2LsEFtVrshn2Xt55XnmaiTq+tiPInA=";
30+
zip_flutter = "sha256-104/tGShkLAOYw9dC/yrt/qnm0NZ+Jk7nkbt3lPcYA8=";
31+
webdav_client = "sha256-Dz/4qW+cYGyNtK8S/abFslwQNroidgrHl7oJw3uXIqM=";
32+
flutter_saf = "sha256-Blh2YxRlO3U/N6GmCnXhNevQYruWT1Zzl/P2gHSva6k=";
33+
};
34+
35+
nativeBuildInputs = [
36+
copyDesktopItems
37+
pkg-config
38+
];
39+
40+
buildInputs = [
41+
webkitgtk_4_1
42+
];
43+
44+
desktopItems = [
45+
(makeDesktopItem {
46+
name = "Venera";
47+
exec = "venera";
48+
icon = "venera";
49+
genericName = "Venera";
50+
desktopName = "Venera";
51+
categories = [
52+
"Utility"
53+
];
54+
keywords = [
55+
"Flutter"
56+
"comic"
57+
"images"
58+
];
59+
})
60+
];
61+
62+
extraWrapProgramArgs = ''
63+
--prefix LD_LIBRARY_PATH : "$out/app/${pname}/lib"
64+
'';
65+
66+
postInstall = ''
67+
install -Dm0644 ./debian/gui/venera.png $out/share/pixmaps/venera.png
68+
'';
69+
70+
meta = {
71+
description = "Comic reader that support reading local and network comics";
72+
homepage = "https://github.com/venera-app/venera";
73+
mainProgram = "venera";
74+
license = with lib.licenses; [ gpl3Plus ];
75+
maintainers = with lib.maintainers; [ aucub ];
76+
platforms = lib.platforms.linux;
77+
};
78+
}

0 commit comments

Comments
 (0)