diff options
author | Daniel Șerbănescu <daniel@serbanescu.dk> | 2021-01-28 11:28:07 +0100 |
---|---|---|
committer | Daniel Șerbănescu <daniel@serbanescu.dk> | 2021-01-28 11:28:07 +0100 |
commit | a0c8966fb3029860e88cf2cdfa4bcbf100ad3223 (patch) | |
tree | 3df8f3d2f9e86b3d4bf594052cf3136da66a0ef7 /pkgs/applications/networking/giara | |
parent | 987b80a824261d7bdbb14a46dc8b3814689da56e (diff) | |
download | nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.tar nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.tar.gz nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.tar.bz2 nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.tar.lz nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.tar.xz nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.tar.zst nixpkgs-a0c8966fb3029860e88cf2cdfa4bcbf100ad3223.zip |
giara: init at 0.3
Diffstat (limited to 'pkgs/applications/networking/giara')
-rw-r--r-- | pkgs/applications/networking/giara/default.nix | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/applications/networking/giara/default.nix b/pkgs/applications/networking/giara/default.nix new file mode 100644 index 00000000000..940756855b9 --- /dev/null +++ b/pkgs/applications/networking/giara/default.nix @@ -0,0 +1,68 @@ +{ lib +, fetchFromGitLab +, meson +, gobject-introspection +, pkg-config +, ninja +, python3 +, wrapGAppsHook +, gtk3 +, gdk-pixbuf +, webkitgtk +, gtksourceview4 +, libhandy +, glib-networking +}: + +python3.pkgs.buildPythonApplication rec { + pname = "giara"; + version = "0.3"; + + format = "other"; + + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "World"; + repo = pname; + rev = version; + sha256 = "004qmkfrgd37axv0b6hfh6v7nx4pvy987k5yv4bmlmkj9sbqm6f9"; + }; + + nativeBuildInputs = [ + meson + gobject-introspection + pkg-config + ninja + wrapGAppsHook + ]; + + buildInputs = [ + gtk3 + gdk-pixbuf + webkitgtk + gtksourceview4 + libhandy + glib-networking + ]; + + pythonPath = with python3.pkgs; [ + pygobject3 + pycairo + dateutil + praw + pillow + mistune + beautifulsoup4 + ]; + + # Fix setup-hooks https://github.com/NixOS/nixpkgs/issues/56943 + strictDeps = false; + + meta = with lib; { + description = "A Reddit app, built with Python, GTK and Handy; Created with mobile Linux in mind"; + maintainers = with maintainers; [ dasj19 ]; + homepage = "https://gitlab.gnome.org/World/giara"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + }; +} |