python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / games / abbaye-des-morts / default.nix
blob3091c8feff22ec5f0cb2a47f4c42331d49290759
1 { lib, stdenv, fetchFromGitHub, SDL2, SDL2_image, SDL2_mixer }:
3 stdenv.mkDerivation rec {
4   pname = "abbaye-des-morts";
5   version = "2.0.1";
7   src = fetchFromGitHub {
8     owner = "nevat";
9     repo = "abbayedesmorts-gpl";
10     rev = "v${version}";
11     sha256 = "1pwqf7r9bqb2p3xrw9i7y8pgr1401fy3mnnqpb1qkhmdl3gqi9hb";
12   };
14   buildInputs = [ SDL2 SDL2_image SDL2_mixer ];
16   makeFlags = [ "PREFIX=$(out)" "DESTDIR=" ];
18   preBuild = lib.optionalString stdenv.cc.isClang
19     ''
20       substituteInPlace Makefile \
21         --replace -fpredictive-commoning ""
22     '';
24   preInstall = ''
25     mkdir -p $out/bin
26     mkdir -p $out/share/applications
27   '';
29   meta = with lib; {
30     homepage = "https://locomalito.com/abbaye_des_morts.php";
31     description = "A retro arcade video game";
32     license = licenses.gpl3;
33     maintainers = [ maintainers.marius851000 ];
34   };