nur-packages

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

default.nix (1330B)


      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.0";
     29 
     30   src = fetchurl {
     31     url = "mirror://gnu/gnunet/messenger-gtk-${finalAttrs.version}.tar.gz";
     32     hash = "sha256-tyr909VUoB7gjKJglA94K3+nd0joCwL5Mqs/2MjE2pE=";
     33   };
     34 
     35   nativeBuildInputs = [
     36     meson
     37     cmake
     38     ninja
     39     pkg-config
     40     desktop-file-utils # for update-desktop-database
     41   ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
     42 
     43   buildInputs = [
     44     gnunet
     45     gst_all_1.gstreamer
     46     gtk3
     47     libgcrypt
     48     libgnunetchat
     49     libhandy
     50     libnotify
     51     libportal
     52     libportal-gtk3
     53     libsodium
     54     libunistring
     55     pipewire
     56     qrencode
     57   ];
     58 
     59   meta = {
     60     description = "A GTK based GUI for the Messenger service of GNUnet";
     61     homepage = "https://www.gnunet.org/";
     62     changelog = "https://git.gnunet.org/messenger-gtk.git/tree/ChangeLog?h=v${finalAttrs.version}";
     63     license = lib.licenses.agpl3Plus;
     64     maintainers = [ lib.maintainers.sikmir ];
     65     platforms = lib.platforms.linux;
     66     skip.ci = stdenv.isDarwin;
     67   };
     68 })