git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #53106 from dtzWill/feature/fractal

fractal: init at 4.0.0 !

commit8252eb91510e690e6c410ef44b1f4e8c2095657d authorSilvan Mosberger <infinisil@icloud.com> dateMon 31 Dec 2018, 16:18 (8 years ago) parentce235f78985150
2 files changed+45
pkgs/applications/networking/instant-messengers/fractal/default.nix+43 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/instant-messengers/fractal/default.nixnew file+43
@@ -0,0 +1,43 @@
1+{ stdenv, fetchurl, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gtksourceview
2+, hicolor-icon-theme, glib, libhandy, gtk3, libsecret, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook }:
3+
4+rustPlatform.buildRustPackage rec {
5+ version = "4.0.0";
6+ name = "fractal-${version}";
7+
8+ src = fetchFromGitLab {
9+ domain = "gitlab.gnome.org";
10+ owner = "GNOME";
11+ repo = "fractal";
12+ rev = version;
13+ sha256 = "05q47jdgbi5jz01280msb8gxnbsrgf2jvglfm6k40f1xw4wxkrzy";
14+ };
15+
16+ nativeBuildInputs = [
17+ meson ninja pkgconfig gettext cargo rustc python3 wrapGAppsHook
18+ ];
19+ buildInputs = [
20+ glib gtk3 libhandy dbus openssl sqlite gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-bad
21+ gtksourceview hicolor-icon-theme libsecret
22+ ];
23+
24+ postPatch = ''
25+ patchShebangs scripts/meson_post_install.py
26+ '';
27+
28+ # Don't use buildRustPackage phases, only use it for rust deps setup
29+ configurePhase = null;
30+ buildPhase = null;
31+ checkPhase = null;
32+ installPhase = null;
33+
34+ cargoSha256 = "0hlvdcdzkggc2adggmlxz0yxigwp3320wfav77gddlvfip1f90sw";
35+
36+ meta = with stdenv.lib; {
37+ description = "Matrix group messaging app";
38+ homepage = https://gitlab.gnome.org/GNOME/fractal;
39+ license = licenses.gpl3;
40+ maintainers = with maintainers; [ dtzWill ];
41+ };
42+}
43+
pkgs/top-level/all-packages.nix+2
@@ -17230,6 +17230,8 @@ in
1723017230
1723117231 fomp = callPackage ../applications/audio/fomp { };
1723217232
17233+ fractal = callPackage ../applications/networking/instant-messengers/fractal { };
17234+
1723317235 freecad = callPackage ../applications/graphics/freecad { mpi = openmpi; };
1723417236
1723517237 freemind = callPackage ../applications/misc/freemind { };