3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/chirp/default.nix
R. RyanTM a2e9a79c03 chirp: 20180325 -> 20180412
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/chirp-daily/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 20180412 with grep in /nix/store/abbw3jd7qa65a0r689dnbrcfngk106p6-chirp-daily-20180412
- directory tree listing: https://gist.github.com/7b3f78dd8a3296dca074fbcc1ef9092c
2018-04-20 11:11:11 -07:00

37 lines
1,017 B
Nix

{ stdenv, fetchurl, libxml2Python, libxslt, makeWrapper
, python, pyserial, pygtk }:
stdenv.mkDerivation rec {
name = "chirp-daily-${version}";
version = "20180412";
src = fetchurl {
url = "http://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz";
sha256 = "17wpxqzifz6grw9xzg9q9vr58vm2xd50fhd64c3ngdhxcnq2dpj9";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
pyserial pygtk libxml2Python libxslt pyserial
];
installPhase = ''
mkdir -p $out/bin $out/share/chirp
cp -r . $out/share/chirp/
ln -s $out/share/chirp/chirpw $out/bin/chirpw
for file in "$out"/bin/*; do
wrapProgram "$file" \
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out")
done
'';
meta = with stdenv.lib; {
description = "A free, open-source tool for programming your amateur radio";
homepage = http://chirp.danplanet.com/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.the-kenny ];
};
}