diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-25 00:13:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 00:13:28 +0000 |
commit | 3edac3b767a01ef861a078ccd9cba12157d16797 (patch) | |
tree | 6e8fb6556275e9fff32044a703c805e8195b65c9 /pkgs/applications/science | |
parent | c667f803b681fe51ef5085ff7185754a1cf0b7d0 (diff) | |
parent | 0d2dc20762f21c3e43fc2acc03f9552adbc392bc (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/astronomy/kstars/default.nix | 104 |
1 files changed, 77 insertions, 27 deletions
diff --git a/pkgs/applications/science/astronomy/kstars/default.nix b/pkgs/applications/science/astronomy/kstars/default.nix index ab141666c0aa0..5fcd8d95f1946 100644 --- a/pkgs/applications/science/astronomy/kstars/default.nix +++ b/pkgs/applications/science/astronomy/kstars/default.nix @@ -1,36 +1,86 @@ -{ - lib, mkDerivation, extra-cmake-modules, fetchurl, - - kconfig, kdoctools, kguiaddons, ki18n, kinit, kiconthemes, kio, - knewstuff, kplotting, kwidgetsaddons, kxmlgui, knotifyconfig, - - - qtx11extras, qtwebsockets, qtkeychain, libsecret, - - eigen, zlib, - - cfitsio, indi-full, xplanet, libnova, libraw, gsl, wcslib, stellarsolver +{ lib +, stdenv +, mkDerivation +, extra-cmake-modules +, fetchFromGitHub +, kconfig +, kdoctools +, kguiaddons +, ki18n +, kinit +, kiconthemes +, kio +, knewstuff +, kplotting +, kwidgetsaddons +, kxmlgui +, knotifyconfig +, qtx11extras +, qtwebsockets +, qtkeychain +, qtdatavis3d +, wrapQtAppsHook +, breeze-icons +, libsecret +, eigen +, zlib +, cfitsio +, indi-full +, xplanet +, libnova +, libraw +, gsl +, wcslib +, stellarsolver +, libxisf }: -mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "kstars"; - version = "3.6.7"; + version = "3.6.9"; - src = fetchurl { - url = "mirror://kde/stable/kstars/kstars-${version}.tar.xz"; - sha256 = "sha256-uEgzvhlHHpXyvi3Djfwg3GmYeZq+r48m7OJFIDARpe4="; + src = fetchFromGitHub { + owner = "KDE"; + repo = "kstars"; + rev = "stable-${finalAttrs.version}"; + hash = "sha256-28RRW+ncMiQcBb/lybEKTeV08ZkF3IqLkeTHNW5nhls="; }; - nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + nativeBuildInputs = [ + extra-cmake-modules + kdoctools + wrapQtAppsHook + ]; buildInputs = [ - kconfig kdoctools kguiaddons ki18n kinit kiconthemes kio - knewstuff kplotting kwidgetsaddons kxmlgui knotifyconfig - - qtx11extras qtwebsockets qtkeychain libsecret - - eigen zlib - - cfitsio indi-full xplanet libnova libraw gsl wcslib stellarsolver + kconfig + kdoctools + kguiaddons + ki18n + kinit + kiconthemes + kio + knewstuff + kplotting + kwidgetsaddons + kxmlgui + knotifyconfig + qtx11extras + qtwebsockets + qtkeychain + qtdatavis3d + breeze-icons + libsecret + eigen + zlib + cfitsio + indi-full + xplanet + libnova + libraw + gsl + wcslib + stellarsolver + libxisf ]; cmakeFlags = [ @@ -51,4 +101,4 @@ mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ timput hjones2199 ]; }; -} +}) |