mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
megaglest: use fetchFromGitHub
This commit is contained in:
parent
a2ca2b535c
commit
484c24b324
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchgit, cmake, pkgconfig, git, curl, SDL, xercesc, openal, lua, vlc
|
{ stdenv, cmake, pkgconfig, git, curl, SDL, xercesc, openal, lua, vlc
|
||||||
, libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng
|
, libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng
|
||||||
, fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, mesa_glu, glib
|
, fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, mesa_glu, glib
|
||||||
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "3.9.2";
|
version = "3.9.2";
|
||||||
@ -18,9 +19,11 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "megaglest-${version}";
|
name = "megaglest-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "git://github.com/MegaGlest/megaglest-source";
|
owner = "MegaGlest";
|
||||||
rev = "refs/tags/${version}";
|
repo = "megaglest-source";
|
||||||
|
rev = "${version}";
|
||||||
|
fetchSubmodules = true;
|
||||||
sha256 = "1406ns1533x5678d91s2xxxv19q7r238zsaxr37c6mv5jrx7s5jv";
|
sha256 = "1406ns1533x5678d91s2xxxv19q7r238zsaxr37c6mv5jrx7s5jv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user