1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-RQRSqlbPwBhw0SiNSP+euMVAwVBJo3lx0qB5gyWA+cM=";
14 nativeBuildInputs = [ cmake pkg-config ];
17 description = "Modbus TCP to Modbus RTU (RS-232/485) gateway";
18 homepage = "https://github.com/3cky/mbusd";
19 changelog = "https://github.com/3cky/mbusd/blob/v${version}/CHANGELOG.md";
20 license = licenses.bsd3;
21 maintainers = with maintainers; [ sikmir ];
22 platforms = platforms.unix;
23 mainProgram = "mbusd";