mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
smpeg: 390 -> 0.4.5
change source to new upstream http://svn.icculus.org/smpeg/trunk/ they moved to github 0.4.5 is revision 399 on svn http://svn.icculus.org/smpeg?view=rev&revision=399 https://github.com/icculus/smpeg/tags
This commit is contained in:
parent
7abe5b90be
commit
ad5243d940
@ -1,13 +1,14 @@
|
||||
{ lib, stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk2, m4, pkg-config, libGLU, libGL, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, SDL, autoconf, automake, libtool, gtk2, m4, pkg-config, libGLU, libGL, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "smpeg-svn";
|
||||
version = "390";
|
||||
pname = "smpeg";
|
||||
version = "0.4.5";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "svn://svn.icculus.org/smpeg/trunk";
|
||||
rev = version;
|
||||
sha256 = "0ynwn7ih5l2b1kpzpibns9bb9wzfjak7mgrb1ji0dkn2q5pv6lr0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "icculus";
|
||||
repo = "smpeg";
|
||||
rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "sha256-nq/i7cFGpJXIuTwN/ScLMX7FN8NMdgdsRM9xOD3uycs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -19,10 +20,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ SDL gtk2 libGLU libGL ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool m4 pkg-config makeWrapper ];
|
||||
|
||||
buildInputs = [ SDL gtk2 libGLU libGL ];
|
||||
|
||||
preConfigure = ''
|
||||
touch NEWS AUTHORS ChangeLog
|
||||
sh autogen.sh
|
||||
|
Loading…
Reference in New Issue
Block a user