diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-03-24 21:57:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 21:57:09 +0100 |
commit | e03f06c40fcf8e8362da550f0ed007ec52a916d6 (patch) | |
tree | 4e5c28988484101fa9ae8c4fe80c1e0fc77ee25f /pkgs/applications/science | |
parent | c51e10cbd27ed5a07235b5b713077662a1659b04 (diff) | |
parent | f9b6960581d2dd1b9b8bbf24fb268a6970191b85 (diff) |
Merge pull request #281099 from bzizou/kstars
kstars: 3.6.7 -> 3.6.9
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 ]; }; -} +}) |