dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / by-name / nj / njam / package.nix
blobab96bc160e7c8d7afd0cfd5038b4f309bb353883
2   lib,
3   stdenv,
4   fetchurl,
5   SDL,
6   SDL_image,
7   SDL_mixer,
8   SDL_net,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "njam";
13   version = "1.25";
15   src = fetchurl {
16     url = "mirror://sourceforge/njam/njam-${version}-src.tar.gz";
17     sha256 = "0ysvqw017xkvddj957pdfmbmji7qi20nyr7f0zxvcvm6c7d3cc7s";
18   };
20   preBuild = ''
21     rm src/*.o
22   '';
24   buildInputs = [
25     SDL
26     SDL_image
27     SDL_mixer
28     SDL_net
29   ];
31   hardeningDisable = [ "format" ];
33   patches = [ ./logfile.patch ];
35   meta = {
36     homepage = "https://trackballs.sourceforge.net/";
37     description = "Cross-platform pacman-like game";
38     mainProgram = "njam";
39     license = lib.licenses.gpl2Plus;
40     platforms = lib.platforms.linux;
41   };