nixpkgs/pkgs/applications/misc/chirp/default.nix
R. RyanTM d8c9aff5dc chirp: 20180412 -> 20180512
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 20180512 with grep in /nix/store/hwlmx1k0a81j7mlvbmrw9lh85a9fg0p1-chirp-daily-20180512
- directory tree listing: https://gist.github.com/6c874faee515e55192c80420f78625dc
- du listing: https://gist.github.com/a39fb2733ffbb945eb83d739a8314d38
2018-05-14 05:21:53 -07:00

36 lines
1,019 B
Nix

{ stdenv, fetchurl, libxml2Python, libxslt, makeWrapper
, python, pyserial, pygtk }:
stdenv.mkDerivation rec {
name = "chirp-daily-${version}";
version = "20180512";
src = fetchurl {
url = "https://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${name}.tar.gz";
sha256 = "111pijr0v36n3yg0p58mgvfxvz088axnxvgfhs8cblssi931mimm";
};
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 = https://chirp.danplanet.com/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.the-kenny ];
};
}