Merge pull request #49052 from etu/init-dmrconfig
dmrconfig: init at 2018-10-20
This commit is contained in:
commit
1a1aa4d4d5
37
pkgs/applications/misc/dmrconfig/default.nix
Normal file
37
pkgs/applications/misc/dmrconfig/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -16182,6 +16182,8 @@ with pkgs;
|
||||
inherit (python3Packages) buildPythonApplication requests;
|
||||
};
|
||||
|
||||
dmrconfig = callPackage ../applications/misc/dmrconfig { };
|
||||
|
||||
dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user