Merge pull request #24097 from ndowens/chirp

chirp: 20161018 -> 20170311
This commit is contained in:
ndowens 2017-03-19 19:24:48 -05:00 committed by GitHub
commit 7d3d0ff0a0

@ -1,25 +1,20 @@
{ stdenv, fetchurl, libxml2Python, libxslt, makeWrapper { stdenv, fetchurl, libxml2Python, libxslt, makeWrapper
, python, pyserial, pygtk , python, pyserial, pygtk }:
}:
let
version = "20161018";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "chirp-daily-${version}"; name = "chirp-daily-${version}";
inherit version; version = "20170311";
src = fetchurl { src = fetchurl {
url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/chirp-daily-${version}.tar.gz"; url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz";
sha256 = "0f3r919az4vvcgxzqmxvhrxa2byzk5algy7srzzs15ihkvyxcwkb"; sha256 = "0mvj650vm3bfk94b174gl99fj4jigrx38f1iciz1cp3gn8hcrcpj";
}; };
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ buildInputs = [
makeWrapper
pyserial pygtk libxml2Python libxslt pyserial pyserial pygtk libxml2Python libxslt pyserial
]; ];
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/share/chirp mkdir -p $out/bin $out/share/chirp
cp -r . $out/share/chirp/ cp -r . $out/share/chirp/