toxic: 0.11.1 -> 0.11.3

This commit is contained in:
Emery Hemingway 2022-09-27 17:46:27 -05:00 committed by ehmry
parent 4fd6adc34b
commit 5314192d1b

View File

@ -1,27 +1,18 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, libsodium, ncurses, curl
{ lib, stdenv, fetchFromGitHub, libsodium, ncurses, curl
, libtoxcore, openal, libvpx, freealut, libconfig, pkg-config, libopus
, qrencode, gdk-pixbuf, libnotify }:
stdenv.mkDerivation rec {
pname = "toxic";
version = "0.11.1";
version = "0.11.3";
src = fetchFromGitHub {
owner = "Tox";
repo = "toxic";
rev = "v${version}";
sha256 = "sha256-5jLXXI+IMrYa7ZtdMjJrah1zB5TJ3GdHfvcMd1TYE4E=";
sha256 = "sha256-BabRY9iu5ccEXo5POrWkWaIWAeQU4MVlMK8I+Iju6aQ=";
};
patches = [
# Pending for upstream inclusion fix for ncurses-6.3 compatibility.
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/JFreegman/toxic/commit/41e93adbdbd56db065166af5a6676a7996e9e451.patch";
sha256 = "sha256-LYEseB5FmXFNifa1RZUxhkXeWlkEEMm3ASD55IoUPa0=";
})
];
makeFlags = [ "PREFIX=$(out)"];
installFlags = [ "PREFIX=$(out)"];
@ -32,10 +23,10 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ pkg-config libconfig ];
meta = with lib; {
meta = with lib; src.meta // {
description = "Reference CLI for Tox";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ ehmry ];
platforms = platforms.linux;
};
}