mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
33 lines
879 B
Nix
33 lines
879 B
Nix
{ stdenv, fetchFromGitHub, libsodium, ncurses, curl
|
|
, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig, libopus
|
|
, qrencode, gdk-pixbuf, libnotify }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "toxic";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tox";
|
|
repo = "toxic";
|
|
rev = "v${version}";
|
|
sha256 = "1y0k9vfb4818b3s313jlxbpjwdxd62cc4kc1vpxdjvs8mx543vrv";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)"];
|
|
installFlags = [ "PREFIX=$(out)"];
|
|
|
|
buildInputs = [
|
|
libtoxcore libsodium ncurses curl gdk-pixbuf libnotify
|
|
] ++ stdenv.lib.optionals (!stdenv.isAarch32) [
|
|
openal libopus libvpx freealut qrencode
|
|
];
|
|
nativeBuildInputs = [ pkgconfig libconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Reference CLI for Tox";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|