Loading pkgs/by-name/li/libplctag/package.nix +15 −8 Original line number Diff line number Diff line Loading @@ -5,27 +5,34 @@ fetchFromGitHub, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "libplctag"; version = "2.6.3"; src = fetchFromGitHub { owner = "libplctag"; repo = "libplctag"; rev = "v${version}"; sha256 = "sha256-HUog7Tlm4jiqYXk22dziumCA/68c35+OwnTNYu9mV5E="; tag = "v${finalAttrs.version}"; hash = "sha256-HUog7Tlm4jiqYXk22dziumCA/68c35+OwnTNYu9mV5E="; }; env = { NIX_CFLAGS_COMPILE = toString [ "-Wno-error=implicit-function-declaration" "-Wno-error=int-conversion" ]; }; nativeBuildInputs = [ cmake ]; meta = with lib; { meta = { homepage = "https://github.com/libplctag/libplctag"; description = "Library that uses EtherNet/IP or Modbus TCP to read and write tags in PLCs"; license = with licenses; [ license = with lib.licenses; [ lgpl2Plus mpl20 ]; maintainers = with maintainers; [ petterstorvik ]; platforms = platforms.all; maintainers = with lib.maintainers; [ petterstorvik ]; platforms = lib.platforms.all; }; } }) Loading
pkgs/by-name/li/libplctag/package.nix +15 −8 Original line number Diff line number Diff line Loading @@ -5,27 +5,34 @@ fetchFromGitHub, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "libplctag"; version = "2.6.3"; src = fetchFromGitHub { owner = "libplctag"; repo = "libplctag"; rev = "v${version}"; sha256 = "sha256-HUog7Tlm4jiqYXk22dziumCA/68c35+OwnTNYu9mV5E="; tag = "v${finalAttrs.version}"; hash = "sha256-HUog7Tlm4jiqYXk22dziumCA/68c35+OwnTNYu9mV5E="; }; env = { NIX_CFLAGS_COMPILE = toString [ "-Wno-error=implicit-function-declaration" "-Wno-error=int-conversion" ]; }; nativeBuildInputs = [ cmake ]; meta = with lib; { meta = { homepage = "https://github.com/libplctag/libplctag"; description = "Library that uses EtherNet/IP or Modbus TCP to read and write tags in PLCs"; license = with licenses; [ license = with lib.licenses; [ lgpl2Plus mpl20 ]; maintainers = with maintainers; [ petterstorvik ]; platforms = platforms.all; maintainers = with lib.maintainers; [ petterstorvik ]; platforms = lib.platforms.all; }; } })