nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

package.nix (1394B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchurl,
      5   cmake,
      6   meson,
      7   ninja,
      8   pkg-config,
      9   desktop-file-utils,
     10   desktopToDarwinBundle,
     11   gnunet,
     12   gst_all_1,
     13   gtk3,
     14   libgcrypt,
     15   libgnunetchat,
     16   libhandy,
     17   libnotify,
     18   libportal,
     19   libportal-gtk3,
     20   libsodium,
     21   libunistring,
     22   pipewire,
     23   qrencode,
     24 }:
     25 
     26 stdenv.mkDerivation (finalAttrs: {
     27   pname = "messenger-gtk";
     28   version = "0.10.2";
     29 
     30   src = fetchurl {
     31     url = "mirror://gnu/gnunet/messenger-gtk-${finalAttrs.version}.tar.gz";
     32     hash = "sha256-pWIOynWrC9cCpfqvgmD6rR6wFvoo2Gu94eEnEedn/P8=";
     33   };
     34 
     35   nativeBuildInputs = [
     36     meson
     37     cmake
     38     ninja
     39     pkg-config
     40     desktop-file-utils # for update-desktop-database
     41   ]
     42   ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
     43 
     44   buildInputs = [
     45     gnunet
     46     gst_all_1.gstreamer
     47     gst_all_1.gst-plugins-base
     48     gst_all_1.gst-plugins-good
     49     gtk3
     50     libgcrypt
     51     libgnunetchat
     52     libhandy
     53     libnotify
     54     libportal
     55     libportal-gtk3
     56     libsodium
     57     libunistring
     58     pipewire
     59     qrencode
     60   ];
     61 
     62   meta = {
     63     description = "A GTK based GUI for the Messenger service of GNUnet";
     64     homepage = "https://www.gnunet.org/";
     65     changelog = "https://git.gnunet.org/messenger-gtk.git/tree/ChangeLog?h=v${finalAttrs.version}";
     66     license = lib.licenses.agpl3Plus;
     67     maintainers = [ lib.maintainers.sikmir ];
     68     platforms = lib.platforms.linux;
     69     skip.ci = stdenv.isDarwin;
     70   };
     71 })