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

32 lines
843 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, qtlocation
}:
2017-05-17 21:26:11 +02:00
mkDerivation rec {
name = "stellarium-${version}";
version = "0.16.1";
src = fetchurl {
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
sha256 = "087x6mbcn2yj8d3qi382vfkzgdwmanxzqi5l1x3iranxmx9c40dh";
};
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 qtlocation
];
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 = with maintainers; [ peti ma27 ];
};
}