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

32 lines
809 B
Nix
Raw Normal View History

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