@@ -1,24 +1,22 @@
11{ stdenv, fetchurl, libxml2Python, libxslt, makeWrapper
22, python, pyserial, pygtk
33}:
4−let
5− version = "20161018";
6−in
4+
75stdenv.mkDerivation rec {
86 name = "chirp-daily-${version}";
9− inherit version;
7+ version = "20170311";
108
119 src = fetchurl {
12− url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/chirp-daily-${version}.tar.gz";
13− sha256 = "0f3r919az4vvcgxzqmxvhrxa2byzk5algy7srzzs15ihkvyxcwkb";
10+ url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz";
11+ sha256 = "0mvj650vm3bfk94b174gl99fj4jigrx38f1iciz1cp3gn8hcrcpj";
1412 };
1513
14+ nativeBuildInputs = [ makeWrapper ];
1615 buildInputs = [
17− makeWrapper
1816 pyserial pygtk libxml2Python libxslt pyserial
1917 ];
2018
21− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
19+ # phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
2220
2321 installPhase = ''
2422 mkdir -p $out/bin $out/share/chirp