nixpkgs-suyu/pkgs/applications/science/astronomy/stellarium/default.nix

32 lines
811 B
Nix
Raw Normal View History

2017-05-17 21:26:11 +02:00
{ mkDerivation, lib, fetchurl
, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
, qtscript, qtserialport, qttools
, qtmultimedia
}:
2017-05-17 21:26:11 +02:00
mkDerivation rec {
name = "stellarium-${version}";
version = "0.15.0";
src = fetchurl {
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
sha256 = "0il751lgnfkx35h1m8fzwwnrygpxjx2a80gng1i1rbybkykf7l3l";
};
2017-05-17 21:26:11 +02:00
nativeBuildInputs = [ cmake perl ];
buildInputs = [
2017-05-17 21:26:11 +02:00
freetype libpng mesa openssl libiconv qtscript qtserialport qttools
qtmultimedia
];
2017-05-17 21:26:11 +02:00
meta = with lib; {
2012-10-19 10:19:41 +02:00
description = "Free open-source planetarium";
homepage = "http://stellarium.org/";
2017-05-17 21:26:11 +02:00
license = licenses.gpl2;
2017-05-17 21:26:11 +02:00
platforms = platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
maintainers = [ maintainers.peti ];
};
}