tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
luabind: switch to fetchFromGitHub
Felix Buehler
4 years ago
3124df04
3149762b
+9
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
luabind
default.nix
+9
-6
pkgs/development/libraries/luabind/default.nix
···
1
1
-
{lib, stdenv, fetchurl, boost-build, lua, boost}:
1
1
+
{ lib, stdenv, fetchFromGitHub, boost-build, lua, boost }:
2
2
3
3
-
stdenv.mkDerivation {
4
4
-
name = "luabind-0.9.1";
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "luabind";
5
5
+
version = "0.9.1";
5
6
6
6
-
src = fetchurl {
7
7
-
url = "https://github.com/luabind/luabind/archive/v0.9.1.tar.gz";
8
8
-
sha256 = "0e5ead50a07668d29888f2fa6f53220f900c886e46a2c99c7e8656842f05ff2d";
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "luabind";
9
9
+
repo = "luabind";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "sha256-sK1ca2Oj9yXdmxyXeDO3k8YZ1g+HxIXLhvdTWdPDdag=";
9
12
};
10
13
11
14
patches = [ ./0.9.1_modern_boost_fix.patch ./0.9.1_boost_1.57_fix.patch ./0.9.1_discover_luajit.patch ];