diff options
author | Artturin <Artturin@artturin.com> | 2022-06-11 19:08:50 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-06-11 19:08:50 +0300 |
commit | ad5243d94041b3618c10f51833e7e9e68f45a673 (patch) | |
tree | 7e7e4109d1ae0deffaf64ba848d49e46c4d7a1a7 /pkgs/development/libraries/smpeg | |
parent | 7abe5b90bea1a0493326f0a1a512d02f6504f3ec (diff) |
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
Diffstat (limited to 'pkgs/development/libraries/smpeg')
-rw-r--r-- | pkgs/development/libraries/smpeg/default.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix index 8e50945ee9962..8b54cb37a32c2 100644 --- a/pkgs/development/libraries/smpeg/default.nix +++ b/pkgs/development/libraries/smpeg/default.nix @@ -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"; - - src = fetchsvn { - url = "svn://svn.icculus.org/smpeg/trunk"; - rev = version; - sha256 = "0ynwn7ih5l2b1kpzpibns9bb9wzfjak7mgrb1ji0dkn2q5pv6lr0"; + pname = "smpeg"; + version = "0.4.5"; + + 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 |