From c2630d203e26826bc33c77957144640c735b7be5 Mon Sep 17 00:00:00 2001 From: ndowens Date: Sun, 19 Mar 2017 19:23:57 -0500 Subject: [PATCH] chirp: 20161018 -> 20170311 --- pkgs/applications/misc/chirp/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/misc/chirp/default.nix b/pkgs/applications/misc/chirp/default.nix index 469da1f6ec42..67d37489feb0 100644 --- a/pkgs/applications/misc/chirp/default.nix +++ b/pkgs/applications/misc/chirp/default.nix @@ -1,25 +1,20 @@ { stdenv, fetchurl, libxml2Python, libxslt, makeWrapper -, python, pyserial, pygtk -}: -let - version = "20161018"; -in +, python, pyserial, pygtk }: + stdenv.mkDerivation rec { name = "chirp-daily-${version}"; - inherit version; + version = "20170311"; src = fetchurl { - url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/chirp-daily-${version}.tar.gz"; - sha256 = "0f3r919az4vvcgxzqmxvhrxa2byzk5algy7srzzs15ihkvyxcwkb"; + url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz"; + sha256 = "0mvj650vm3bfk94b174gl99fj4jigrx38f1iciz1cp3gn8hcrcpj"; }; + nativeBuildInputs = [ makeWrapper ]; buildInputs = [ - makeWrapper pyserial pygtk libxml2Python libxslt pyserial ]; - phases = [ "unpackPhase" "installPhase" "fixupPhase" ]; - installPhase = '' mkdir -p $out/bin $out/share/chirp cp -r . $out/share/chirp/