mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
hedgewars: 0.9.25 -> 1.0.0-beta1
- unbreak build by bumping version to latest beta as that removes the broken `bytestring-show` dependency - beta needs to be fetched from Mercurial repo
This commit is contained in:
parent
1559a3798a
commit
7030004ad6
@ -1,20 +1,21 @@
|
||||
{ SDL2_image, SDL2_ttf, SDL2_net, fpc, qt5, ghcWithPackages, ffmpeg, freeglut
|
||||
, stdenv, makeWrapper, fetchurl, cmake, pkgconfig, lua5_1, SDL2, SDL2_mixer
|
||||
, stdenv, makeWrapper, fetchhg, cmake, pkgconfig, lua5_1, SDL2, SDL2_mixer
|
||||
, zlib, libpng, libGLU_combined, physfs
|
||||
}:
|
||||
|
||||
let
|
||||
ghc = ghcWithPackages (pkgs: with pkgs; [
|
||||
network vector utf8-string /* broken: bytestring-show */ random hslogger
|
||||
network vector utf8-string bytestring random hslogger
|
||||
SHA entropy pkgs.zlib sandi regex-tdfa
|
||||
]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.25";
|
||||
version = "1.0.0-beta1";
|
||||
name = "hedgewars-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://www.hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2";
|
||||
sha256 = "08x7fqpy0hpnbfq2k06g522xayi7s53bca819zfhalvqnqs76pdk";
|
||||
src = fetchhg {
|
||||
url = "https://hg.hedgewars.org/hedgewars/";
|
||||
rev = "7ab5cf405686";
|
||||
sha256 = "1yrspi82ym5zpavka4cv0vh86g3i2mbbg8ccfcsid4f38lgbb9y4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
@ -75,6 +76,5 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ kragniz fpletz ];
|
||||
platforms = ghc.meta.platforms;
|
||||
hydraPlatforms = [];
|
||||
broken = true; # depends on broken Haskell package bytestring-show
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user