9 stdenv.mkDerivation rec {
10 pname = "mblock-mlink";
14 url = "https://dl.makeblock.com/mblock5/linux/mLink-${version}-amd64.deb";
15 sha256 = "sha256-KLxj81ZjbEvhhaz0seNB4WXX5ybeZ7/WcT1dGfdWle0=";
19 ${dpkg}/bin/dpkg -x $src $out
23 (lib.getLib stdenv.cc.cc)
31 mv $out/usr/local/makeblock $out/usr/makeblock
34 echo $out/usr/makeblock/mLink/mnode $out/usr/makeblock/mLink/app.js > $out/bin/mlink
35 chmod +x $out/bin/mlink
39 description = "Driver for mBlock web version";
40 homepage = "https://mblock.makeblock.com/en-us/download/";
41 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
42 license = licenses.unfree;
43 platforms = [ "x86_64-linux" ];
44 maintainers = [ maintainers.mausch ];