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