mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 22:21:26 +00:00
Update Blobby Volley
This commit is contained in:
parent
60ccbebc4e
commit
5ed1adbbd4
@ -1,17 +1,18 @@
|
||||
{stdenv, fetchurl, SDL, SDL_image, mesa, cmake, physfs, boost, zip, zlib}:
|
||||
{stdenv, fetchurl, SDL2, SDL2_image, mesa, cmake, physfs, boost, zip, zlib
|
||||
, pkgconfig}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0-rc3";
|
||||
version = "1.0";
|
||||
name = "blobby-volley-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/blobby/Blobby%20Volley%202%20%28Linux%29/1.0RC3/blobby2-linux-1.0rc3.tar.gz";
|
||||
sha256 = "10f50b2ygw8cb9mp33wpdwv9p6lc10qlwc1xd44bbcby1d9v5ga5";
|
||||
url = "http://softlayer-ams.dl.sourceforge.net/project/blobby/Blobby%20Volley%202%20%28Linux%29/1.0/blobby2-linux-1.0.tar.gz";
|
||||
sha256 = "1qpmbdlyhfbrdsq4vkb6cb3b8mh27fpizb71q4a21ala56g08yms";
|
||||
};
|
||||
|
||||
buildInputs = [SDL SDL_image mesa cmake physfs boost zip zlib];
|
||||
buildInputs = [SDL2 SDL2_image mesa cmake physfs boost zip zlib pkgconfig];
|
||||
|
||||
preConfigure = ''
|
||||
sed -re '1i#include <cassert>' -i src/CrossCorrelation.h
|
||||
preConfigure=''
|
||||
sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -19,5 +20,8 @@ stdenv.mkDerivation rec {
|
||||
license = with stdenv.lib.licenses; bsd3;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with stdenv.lib.maintainers; [raskin];
|
||||
homepage = "http://blobby.sourceforge.net/";
|
||||
downloadPage = "http://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/";
|
||||
inherit version;
|
||||
};
|
||||
}
|
||||
|
8
pkgs/games/blobby/default.upstream
Normal file
8
pkgs/games/blobby/default.upstream
Normal file
@ -0,0 +1,8 @@
|
||||
url http://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/
|
||||
SF_version_dir
|
||||
version_link '[.]tar[.][^.]+/download$'
|
||||
SF_redirect
|
||||
do_overwrite(){
|
||||
do_overwrite_just_version
|
||||
set_var_value url $CURRENT_URL
|
||||
}
|
@ -10086,9 +10086,7 @@ let
|
||||
|
||||
blackshadeselite = callPackage ../games/blackshadeselite { };
|
||||
|
||||
blobby = callPackage ../games/blobby {
|
||||
boost = boost149;
|
||||
};
|
||||
blobby = callPackage ../games/blobby { };
|
||||
|
||||
bsdgames = callPackage ../games/bsdgames { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user