Created
September 22, 2019 13:24
-
-
Save Mic92/1176461b9328aa4f659a25ab1fd1172c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation rec { | |
name = "mbpoll-${version}"; | |
version = "1.4.11"; | |
src = fetchFromGitHub { | |
owner = "epsilonrt"; | |
repo = "mbpoll"; | |
rev = "v${version}"; | |
sha256 = "21ed3c28f954d822df1e397301536cfb7bfd74ee4225c500d295550e686b5f5c"; | |
}; | |
buildInputs = [ libmodbus ]; | |
nativeBuildInputs = [ cmake pkgconfig ]; | |
meta = with stdenv.lib; { | |
description = "command line utility to communicate with ModBus slave (RTU or TCP)"; | |
homepage = "https://epsilonrt.fr"; | |
license = licenses.cecill20; | |
platforms = platforms.linux; | |
}; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment