nixpkgs/pkgs/games/pioneer/default.nix
Matthew Justin Bauer 2eacddf0dc treewide: homepage URL fixes (#28475)
* pgadmin: use https homepage

* msn-pecan: move homepage to github

google code is now unavailable

* pidgin-latex: use https for homepage

* pidgin-opensteamworks: use github for homepage

google code is unavailable

* putty: use https for homepage

* ponylang: use https for homepage

* picolisp: use https for homepage

* phonon: use https for homepage

* pugixml: use https for homepage

* pioneer: use https for homepage

* packer: use https for homepage

* pokerth: usee https for homepage

* procps-ng: use https for homepage

* pycaml: use https for homepage

* proot: move homepage to .github.io

* pius: use https for homepage

* pdfread: use https for homepage

* postgresql: use https for homepage

* ponysay: move homepage to new site

* prometheus: use https for homepage

* powerdns: use https for homepage

* pm-utils: use https for homepage

* patchelf: move homepage to https

* tesseract: move homepage to github

* quodlibet: move homepage from google code

* jbrout: move homepage from google code

* eiskaltdcpp: move homepage to github

* nodejs: use https to homepage

* nix: use https for homepage

* pdf2djvu: move homepage from google code

* game-music-emu: move homepage from google code

* vacuum: move homepae from google code
2017-08-22 20:50:04 +02:00

43 lines
1020 B
Nix

{ fetchFromGitHub, stdenv, automake, curl, libsigcxx, SDL2
, SDL2_image, freetype, libvorbis, libpng, assimp, mesa
, autoconf, pkgconfig }:
let
version = "20160116";
checksum = "07w5yin2xhb0fdlj1aipi64yx6vnr1siahsy0bxvzi06d73ffj6r";
in
stdenv.mkDerivation rec {
name = "pioneer-${version}";
src = fetchFromGitHub{
owner = "pioneerspacesim";
repo = "pioneer";
rev = version;
sha256 = checksum;
};
buildInputs = [
automake curl libsigcxx SDL2 SDL2_image freetype libvorbis
libpng assimp mesa autoconf pkgconfig
];
NIX_CFLAGS_COMPILE = [
"-I${SDL2}/include/SDL2"
];
preConfigure = ''
export PIONEER_DATA_DIR="$out/share/pioneer/data";
./bootstrap
'';
meta = with stdenv.lib; {
description = "Pioneer is a space adventure game set in the Milky Way galaxy at the turn of the 31st century";
homepage = https://pioneerspacesim.net;
license = with licenses; [
gpl3 cc-by-sa-30
];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}