summaryrefslogtreecommitdiff
path: root/overlays/profanity/default.nix
blob: 64fae49014640a499f99b6074ed5e117aa5c952c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
self: super: {
  profanity = (super.profanity.override {
    notifySupport = true;
    inherit (self) libnotify gpgme gdk_pixbuf;
    python = self.python3;
  }).overrideAttrs (old: rec {
    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" ];
  });
}