Skip to content

Commit

Permalink
Merge pull request #166436 from erictapen/profanity
Browse files Browse the repository at this point in the history
profanity: 0.11.1 -> 0.12.0
  • Loading branch information
Mic92 authored Mar 30, 2022
2 parents ce5a55e + 13c34c9 commit 32e6148
Showing 1 changed file with 4 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoconf-archive
, autoreconfHook
, cmocka
Expand All @@ -10,7 +9,7 @@
, expect
, glib
, glibcLocales
, libmesode
, libstrophe
, libmicrohttpd
, libotr
, libuuid
Expand All @@ -36,34 +35,17 @@ assert omemoSupport -> libsignal-protocol-c != null && libgcrypt != null;

stdenv.mkDerivation rec {
pname = "profanity";
version = "0.11.1";
version = "0.12.0";

src = fetchFromGitHub {
owner = "profanity-im";
repo = "profanity";
rev = version;
hash = "sha256-8WGHOy0fSW8o7vMCYZqqpvDsn81JZefM6wGfjQ5iKbU=";
hash = "sha256-kmixWp9Q2tMVp+tk5kbTdBfgRNghKk3+48L582hqlm8=";
};

patches = [
./patches/packages-osx.patch

# pullupstream fixes for ncurses-6.3
(fetchpatch {
name = "ncurses-6.3-p1.patch";
url = "https://github.com/profanity-im/profanity/commit/e5b6258c997d4faf36e2ffb8a47b386c5629b4eb.patch";
sha256 = "sha256-4rwpvsgfIQ60GcLS0O7Hyn7ZidREjYT+dVND54z0zrw=";
})
(fetchpatch {
name = "ncurses-6.3-p2.patch";
url = "https://github.com/profanity-im/profanity/commit/fd9ccec8dc604902bbb1d444dba4223ccee0a092.patch";
sha256 = "sha256-4gZaXoDNulBIR+e6y/9bJKXVactCHWS8H8lPJaJwVwE=";
})
(fetchpatch {
name = "ncurses-6.3-p3.patch";
url = "https://github.com/profanity-im/profanity/commit/242696f09a49c8446ba6aef8bdad65fb58a77715.patch";
sha256 = "sha256-BOYHkae9aIA7HaVM23Yu25TTK9e3SuV+u0FEi7Sn62I=";
})
];

enableParallelBuilding = true;
Expand All @@ -81,7 +63,7 @@ stdenv.mkDerivation rec {
expat
expect
glib
libmesode
libstrophe
libmicrohttpd
libotr
libuuid
Expand Down

0 comments on commit 32e6148

Please sign in to comment.