Merge pull request #49052 from etu/init-dmrconfig

dmrconfig: init at 2018-10-20
This commit is contained in:
adisbladis 2018-10-26 23:12:52 +01:00 committed by GitHub
commit 1a1aa4d4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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