Merge pull request #16613 from danielfullmer/zerotierone-update

zerotierone: 1.1.4 -> 1.1.6
This commit is contained in:
zimbatm 2016-06-30 10:34:46 +01:00 committed by GitHub
commit 85781f9bb6

View File

@ -3,12 +3,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
version = "1.1.4";
version = "1.1.6";
name = "zerotierone";
src = fetchurl {
url = "https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz";
sha256 = "10aw0dlkmprdvph3aqkqximxqkryf0l4jcnv2bbm7f1qvclqihva";
sha256 = "1bl8dppaqydsd1qf9pk3bp16amkwjxyqh1gvm62ys2a0m4c529ks";
};
preConfigure = ''
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl lzo zlib gcc iproute ];
buildFlags = [ "one" ]; # TODO: Add support for building and installing manpages as well.
installPhase = ''
install -Dt "$out/bin/" zerotier-one
ln -s $out/bin/zerotier-one $out/bin/zerotier-idtool