]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Upgrade profanity (backport)
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 9 Dec 2019 23:27:37 +0000 (00:27 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 9 Dec 2019 23:27:37 +0000 (00:27 +0100)
overlays/profanity/default.nix

index 33861f1b138b3f1f4c95b1a3f7f8f89353bc412d..64fae49014640a499f99b6074ed5e117aa5c952c 100644 (file)
@@ -4,6 +4,17 @@ self: super: {
     inherit (self) libnotify gpgme gdk_pixbuf;
     python = self.python3;
   }).overrideAttrs (old: rec {
-    configureFlags = old.configureFlags ++ [ "--enable-plugins" ];
+    version = "0.7.1";
+    pname = "profanity";
+    name = "profanity-0.7.1";
+    src = self.fetchFromGitHub {
+      owner = "profanity-im";
+      repo = "profanity";
+      rev = version;
+      sha256 = "1mcgr86wqyzqx7mqxfkk2jwx6cgnvrky3zi4v1ww0lh6j05wj9gf";
+    };
+    patches = builtins.tail old.patches;
+    buildInputs = old.buildInputs ++ [ self.libsignal-protocol-c self.libgcrypt ];
+    configureFlags = old.configureFlags ++ [ "--enable-plugins" "--enable-omemo" ];
   });
 }