8 stdenv.mkDerivation rec {
13 url = "mirror://sourceforge/snap7/${version}/snap7-full-${version}.7z";
14 sha256 = "1n5gs8bwb6g9vfllf3x12r5yzqzapmlq1bmc6hl854b8vkg30y8c";
16 ${p7zip}/bin/7z x $downloadedFile
18 cp -r snap7-full-${version}/* $out/
28 makefile = "x86_64_linux.mk";
29 makeFlags = [ "LibInstall=$(out)/lib" ];
31 preBuild = "cd build/unix";
36 cp $src/examples/cpp/snap7.h $dev/include
37 cp -r $src/doc $doc/share/
41 homepage = "https://snap7.sourceforge.net/";
42 description = "Step7 Open Source Ethernet Communication Suite";
43 license = licenses.lgpl3;
44 maintainers = with maintainers; [ freezeboy ];
45 platforms = platforms.linux;