git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110939 from dasj19/giara-init

giara: init at 0.3

commit82c5dac6d1850a297d3cb598fd9d2b20c9398729 authorSandro <sandro.jaeckel@gmail.com> dateSun 21 Mar 2021, 20:53 (6 years ago) parent9eb3131a0c8966
2 files changed+70
pkgs/applications/networking/giara/default.nix+68 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/giara/default.nixnew file+68
@@ -0,0 +1,68 @@
1+{ lib
2+, fetchFromGitLab
3+, meson
4+, gobject-introspection
5+, pkg-config
6+, ninja
7+, python3
8+, wrapGAppsHook
9+, gtk3
10+, gdk-pixbuf
11+, webkitgtk
12+, gtksourceview4
13+, libhandy
14+, glib-networking
15+}:
16+
17+python3.pkgs.buildPythonApplication rec {
18+ pname = "giara";
19+ version = "0.3";
20+
21+ format = "other";
22+
23+ src = fetchFromGitLab {
24+ domain = "gitlab.gnome.org";
25+ owner = "World";
26+ repo = pname;
27+ rev = version;
28+ sha256 = "004qmkfrgd37axv0b6hfh6v7nx4pvy987k5yv4bmlmkj9sbqm6f9";
29+ };
30+
31+ nativeBuildInputs = [
32+ meson
33+ gobject-introspection
34+ pkg-config
35+ ninja
36+ wrapGAppsHook
37+ ];
38+
39+ buildInputs = [
40+ gtk3
41+ gdk-pixbuf
42+ webkitgtk
43+ gtksourceview4
44+ libhandy
45+ glib-networking
46+ ];
47+
48+ pythonPath = with python3.pkgs; [
49+ pygobject3
50+ pycairo
51+ dateutil
52+ praw
53+ pillow
54+ mistune
55+ beautifulsoup4
56+ ];
57+
58+ # Fix setup-hooks https://github.com/NixOS/nixpkgs/issues/56943
59+ strictDeps = false;
60+
61+ meta = with lib; {
62+ description = "A Reddit app, built with Python, GTK and Handy; Created with mobile Linux in mind";
63+ maintainers = with maintainers; [ dasj19 ];
64+ homepage = "https://gitlab.gnome.org/World/giara";
65+ license = licenses.gpl3Plus;
66+ platforms = platforms.linux;
67+ };
68+}
pkgs/top-level/all-packages.nix+2
@@ -22934,6 +22934,8 @@ in
2293422934
2293522935 giada = callPackage ../applications/audio/giada {};
2293622936
22937+ giara = callPackage ../applications/networking/giara { };
22938+
2293722939 gitit = callPackage ../applications/misc/gitit {};
2293822940
2293922941 gkrellm = callPackage ../applications/misc/gkrellm {