mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 22:33:43 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
740 B
Nix
26 lines
740 B
Nix
{ lib, stdenv, fetchurl
|
|
, libGLU, libGL, SDL, libglut, SDL_mixer, autoconf, automake, libtool
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gl-117";
|
|
version = "1.3.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/gl-117/gl-117/GL-117%20Source/${pname}-${version}.tar.bz2";
|
|
sha256 = "1yvg1rp1yijv0b45cz085b29x5x0g5fkm654xdv5qwh2l6803gb4";
|
|
};
|
|
|
|
nativeBuildInputs = [ automake autoconf ];
|
|
buildInputs = [ libGLU libGL SDL libglut SDL_mixer libtool ];
|
|
|
|
meta = with lib; {
|
|
description = "Air combat simulator";
|
|
mainProgram = "gl-117";
|
|
homepage = "https://sourceforge.net/projects/gl-117";
|
|
maintainers = with maintainers; [ raskin ];
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|