@@ -1,22 +1,24 @@
11{ stdenv, fetchurl, libxml2Python, libxslt, makeWrapper
22, python, pyserial, pygtk
33}:
4−
4+let
5+ version = "20161018";
6+in
57stdenv.mkDerivation rec {
68 name = "chirp-daily-${version}";
7− version = "20170311";
9+ inherit version;
810
911 src = fetchurl {
10− url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz";
11− sha256 = "0mvj650vm3bfk94b174gl99fj4jigrx38f1iciz1cp3gn8hcrcpj";
12+ url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/chirp-daily-${version}.tar.gz";
13+ sha256 = "0f3r919az4vvcgxzqmxvhrxa2byzk5algy7srzzs15ihkvyxcwkb";
1214 };
1315
14− nativeBuildInputs = [ makeWrapper ];
1516 buildInputs = [
17+ makeWrapper
1618 pyserial pygtk libxml2Python libxslt pyserial
1719 ];
1820
19− # phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
21+ phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
2022
2123 installPhase = ''
2224 mkdir -p $out/bin $out/share/chirp