3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/astronomy/kstars/default.nix

54 lines
1.8 KiB
Nix
Raw Normal View History

{
lib, mkDerivation, extra-cmake-modules, fetchurl,
kconfig, kdoctools, kguiaddons, ki18n, kinit, kiconthemes, kio,
2020-11-28 17:08:02 +00:00
knewstuff, kplotting, kwidgetsaddons, kxmlgui, knotifyconfig,
2020-11-28 17:08:02 +00:00
qtx11extras, qtwebsockets, qtkeychain, libsecret,
eigen, zlib,
2021-02-27 19:25:07 +00:00
cfitsio, indi-full, xplanet, libnova, libraw, gsl, wcslib, stellarsolver
}:
mkDerivation rec {
2020-11-03 00:34:55 +00:00
pname = "kstars";
2021-11-30 14:13:12 +00:00
version = "3.5.6";
2020-11-03 00:34:55 +00:00
src = fetchurl {
2020-12-25 21:53:24 +00:00
url = "mirror://kde/stable/kstars/kstars-${version}.tar.xz";
2021-11-30 14:13:12 +00:00
sha256 = "sha256-n+fGYLzQAGS8828hr7XE9qiTMyg99L+W7VRjd9aEkrQ=";
};
2020-11-03 00:34:55 +00:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kconfig kdoctools kguiaddons ki18n kinit kiconthemes kio
2020-11-28 17:08:02 +00:00
knewstuff kplotting kwidgetsaddons kxmlgui knotifyconfig
2020-11-28 17:08:02 +00:00
qtx11extras qtwebsockets qtkeychain libsecret
eigen zlib
2021-02-27 19:25:07 +00:00
cfitsio indi-full xplanet libnova libraw gsl wcslib stellarsolver
2020-11-03 00:34:55 +00:00
];
cmakeFlags = [
2021-05-10 21:16:04 +01:00
"-DINDI_PREFIX=${indi-full}"
"-DXPLANET_PREFIX=${xplanet}"
];
meta = with lib; {
description = "Virtual planetarium astronomy software";
homepage = "https://kde.org/applications/education/org.kde.kstars";
longDescription = ''
It provides an accurate graphical simulation of the night sky, from any location on Earth, at any date and time.
The display includes up to 100 million stars, 13.000 deep-sky objects, all 8 planets, the Sun and Moon, and thousands of comets, asteroids, supernovae, and satellites.
For students and teachers, it supports adjustable simulation speeds in order to view phenomena that happen over long timescales, the KStars Astrocalculator to predict conjunctions, and many common astronomical calculations.
'';
2021-02-27 21:11:20 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
2020-12-25 21:53:24 +00:00
maintainers = with maintainers; [ timput hjones2199 ];
};
}