luabind: switch to fetchFromGitHub

+9 -6
+9 -6
pkgs/development/libraries/luabind/default.nix
··· 1 - {lib, stdenv, fetchurl, boost-build, lua, boost}: 2 3 - stdenv.mkDerivation { 4 - name = "luabind-0.9.1"; 5 6 - src = fetchurl { 7 - url = "https://github.com/luabind/luabind/archive/v0.9.1.tar.gz"; 8 - sha256 = "0e5ead50a07668d29888f2fa6f53220f900c886e46a2c99c7e8656842f05ff2d"; 9 }; 10 11 patches = [ ./0.9.1_modern_boost_fix.patch ./0.9.1_boost_1.57_fix.patch ./0.9.1_discover_luajit.patch ];
··· 1 + { lib, stdenv, fetchFromGitHub, boost-build, lua, boost }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "luabind"; 5 + version = "0.9.1"; 6 7 + src = fetchFromGitHub { 8 + owner = "luabind"; 9 + repo = "luabind"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-sK1ca2Oj9yXdmxyXeDO3k8YZ1g+HxIXLhvdTWdPDdag="; 12 }; 13 14 patches = [ ./0.9.1_modern_boost_fix.patch ./0.9.1_boost_1.57_fix.patch ./0.9.1_discover_luajit.patch ];