@@ -1,17 +1,17 @@
1−{ stdenv, fetchurl, autoconf, libtool, automake, libsodium, ncurses
1+{ stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses
2, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
2, libtoxcore, openal, libvpx, freealut, libconfig, pkgconfig }:
6−in stdenv.mkDerivation rec {
4+stdenv.mkDerivation rec {
7− name = "toxic-${version}";
5+ name = "toxic-dev-20141130";
9− src = fetchurl {
7+ src = fetchFromGitHub {
10− url = "https://github.com/Tox/toxic/archive/v${version}.tar.gz";
8+ owner = "Tox";
11− sha256 = "0zzfgwm17a4xcy9l0ll2pksp45mz6f4s3isdrgjpw1xibv9xnzcm";
9+ repo = "toxic";
11+ sha256 = "1yqglh9fm75zph4fzf3z4gwmamngypwpvb7shpqgakdg8ybq0a8s";
14− makeFlags = [ "-Cbuild" "VERSION=${version}" "PREFIX=$(out)" ];
14+ makeFlags = [ "-Cbuild" "PREFIX=$(out)" ];
15 installFlags = [ "PREFIX=$(out)" ];
15 installFlags = [ "PREFIX=$(out)" ];
17 buildInputs = [
17 buildInputs = [
@@ -21,10 +21,10 @@ in stdenv.mkDerivation rec {
21 openal libvpx freealut
21 openal libvpx freealut
24− meta = {
24+ meta = with stdenv.lib; {
25 description = "Reference CLI for Tox";
25 description = "Reference CLI for Tox";
26− license = stdenv.lib.licenses.gpl3Plus;
26+ license = licenses.gpl3Plus;
27− maintainers = with stdenv.lib.maintainers; [ viric ];
27+ maintainers = with maintainers; [ viric jgeerds ];
28− platforms = stdenv.lib.platforms.all;
28+ platforms = platforms.all;