diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2019-03-08 22:25:47 +0100 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2019-03-08 22:25:47 +0100 |
commit | 72a8952e8454a1d439703d870f436e45bbfda31f (patch) | |
tree | 3ba2db2e5666c9a336a92c4288d08f02a792cecd /pkgs/games/xpilot/default.nix | |
parent | eb8abb9aded4053e06c9f40333872d750bdf79ac (diff) | |
download | nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.tar nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.tar.gz nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.tar.bz2 nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.tar.lz nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.tar.xz nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.tar.zst nixpkgs-72a8952e8454a1d439703d870f436e45bbfda31f.zip |
xpilot-ng: Fix build and cleanup (#57088)
Diffstat (limited to 'pkgs/games/xpilot/default.nix')
-rw-r--r-- | pkgs/games/xpilot/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pkgs/games/xpilot/default.nix b/pkgs/games/xpilot/default.nix index 86412c0fa76..2ae25e957bb 100644 --- a/pkgs/games/xpilot/default.nix +++ b/pkgs/games/xpilot/default.nix @@ -1,23 +1,20 @@ -{stdenv, fetchurl, libX11, libSM, SDL, libGLU_combined, expat, SDL_ttf, SDL_image, zlib}: -let - buildInputs = [ - libX11 libSM SDL SDL_ttf SDL_image libGLU_combined expat zlib - ]; -in +{ stdenv, fetchurl, libX11, libSM, SDL, libGLU_combined, expat, SDL_ttf +, SDL_image, zlib, libXxf86misc }: stdenv.mkDerivation rec { - version = "4.7.3"; name = "xpilot-ng-${version}"; - inherit buildInputs; + version = "4.7.3"; src = fetchurl { url = "mirror://sourceforge/xpilot/xpilot_ng/${name}/${name}.tar.gz"; sha256 = "02a7pnp88kh88fzda5q8mzlckk6y9r5fw47j00h26wbsfly0k1zj"; }; - meta = { - inherit version; - description = ''A multiplayer X11 space combat game''; + buildInputs = [ + libX11 libSM SDL SDL_ttf SDL_image libGLU_combined expat zlib libXxf86misc + ]; + meta = with stdenv.lib; { + description = "A multiplayer X11 space combat game"; homepage = http://xpilot.sf.net/; - license = stdenv.lib.licenses.gpl2Plus ; - maintainers = [stdenv.lib.maintainers.raskin]; - platforms = stdenv.lib.platforms.linux; + license = licenses.gpl2Plus; + maintainers = [ maintainers.raskin ]; + platforms = platforms.linux; }; } |