dmrconfig: init at 2018-10-20

This commit is contained in:
Elis Hirwing 2018-10-24 18:47:55 +02:00
parent ddebab3575
commit 21390ed5ec
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub
, libusb1, systemd }:
stdenv.mkDerivation rec {
name = "dmrconfig-${version}";
version = "2018-10-20";
src = fetchFromGitHub {
owner = "sergev";
repo = "dmrconfig";
rev = "a4c5f893d2749727493427320c7f01768966ba51";
sha256 = "0h7hv6fv6v5g922nvgrb0w7hsqbhaw7xmdc6vydh2p3l7sp31vg2";
};
buildInputs = [
libusb1 systemd
];
preConfigure = ''
substituteInPlace Makefile --replace /usr/local/bin/dmrconfig $out/bin/dmrconfig
'';
preInstall = ''
mkdir -p $out/bin
'';
meta = with stdenv.lib; {
description = "Configuration utility for DMR radios";
longDescription = ''
DMRconfig is a utility for programming digital radios via USB programming cable.
'';
homepage = https://github.com/sergev/dmrconfig;
license = licenses.asl20;
maintainers = [ maintainers.etu ];
platforms = platforms.linux;
};
}

View file

@ -16149,6 +16149,8 @@ with pkgs;
inherit (python3Packages) buildPythonApplication requests;
};
dmrconfig = callPackage ../applications/misc/dmrconfig { };
dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
};