depot/third_party/nixpkgs/pkgs/by-name/mb/mbusd/package.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

25 lines
687 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
stdenv.mkDerivation rec {
pname = "mbusd";
version = "0.5.2";
src = fetchFromGitHub {
owner = "3cky";
repo = "mbusd";
rev = "v${version}";
hash = "sha256-RQRSqlbPwBhw0SiNSP+euMVAwVBJo3lx0qB5gyWA+cM=";
};
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "Modbus TCP to Modbus RTU (RS-232/485) gateway";
homepage = "https://github.com/3cky/mbusd";
changelog = "https://github.com/3cky/mbusd/blob/v${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
mainProgram = "mbusd";
};
}