Commit Graph

324 Commits

Author SHA1 Message Date
Colin
d63375c74f
stellarium: add passthru.updateScript (#346147) 2024-11-18 22:31:32 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Weijia Wang
143d5c9d69
siril: 1.2.3 -> 1.2.4 (#348719) 2024-11-01 13:16:01 +01:00
kilianar
e7be252513 stellarium: use lib.getExe in tests.version for xvfb-run 2024-10-27 21:23:15 +01:00
piegames
68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
R. Ryantm
f9705e4143 siril: 1.2.3 -> 1.2.4 2024-10-15 07:45:19 +00:00
Peder Bergebakken Sundt
ffec6dc98b
stellarium: 24.2 -> 24.3 (#343918) 2024-10-05 17:06:23 +02:00
kilianar
63ba95cb91 stellarium: add passthru.updateScript 2024-10-03 13:29:21 +02:00
Markus Kowalewski
ea824089d6
gpredict: apply nixfmt 2024-09-28 14:09:36 +02:00
Markus Kowalewski
d036096765
gpredict: add to update TLE download URLs
The old URLs do not work anymore
2024-09-28 14:07:44 +02:00
Markus Kowalewski
311706db9c
gpredict: switch to fetchFromGitHub 2024-09-28 14:06:58 +02:00
Markus Kowalewski
abd1b3156a
gpredict: cleanup "with lib", remove let in for attribute set 2024-09-28 13:34:00 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
kilianar
cc7f81cdbd stellarium: 24.2 -> 24.3
https://github.com/Stellarium/stellarium/releases/tag/v24.3
2024-09-23 10:22:27 +02:00
Peder Bergebakken Sundt
d058ef282a
kstars: 3.7.0 -> 3.7.2 (#337238) 2024-09-13 01:54:22 +02:00
Sébastien Maret
2bc2e4a4f0 gildas: 20240401_a -> 20240901_a and fix build on darwin
Closes #340997
2024-09-10 16:27:59 +02:00
R. Ryantm
45bd24cd78 calcmysky: 0.3.2 -> 0.3.3 2024-09-09 01:28:15 +00:00
Linus Karl
8d35d0239a kstars: 3.7.0 -> 3.7.2
Updated URL with new format
Release Notes for 3.7.2:
https://knro.blogspot.com/2024/08/kstars-372-released.html
2024-09-01 12:37:39 +02:00
Alyssa Ross
d4a72a3935 lib.platforms.mesaPlatforms: remove
Mesa is a package like any other.  There's no reason for it to be a
special case with its platforms listed in lib, because if other
packages want to refer to mesa's platforms, they can access the
platforms from the package meta like they would for any other package.
2024-08-31 10:28:31 +02:00
pancho horrillo
fbb8f62cff
celestia: fix meta.homepage.url
As can be read on the current Celestia project site’s
[news](https://celestiaproject.space/news.html),
on Jun. 28, 2023 their new domain was moved to
https://celestiaproject.space, because (and I quote):

    “Cybersquatters were faster and we’re not eager to give them $$$.”

Their [old domain](https://celestia.space) seems indeed like a parked
domain (as of 2024-07-27T17:00).
2024-07-27 17:13:48 +02:00
Nikolay Korotkiy
f4cbe8e67a
gnuastro: migrate to by-name 2024-07-17 10:52:16 +04:00
R. Ryantm
e145cabe34 gnuastro: 0.22 -> 0.23 2024-07-17 00:46:54 +00:00
Aleksana
6c1414eab5
Merge pull request #315041 from kilianar/stellarium-version-test
stellarium: add passthru.tests.version
2024-07-11 21:11:06 +08:00
K900
bde999c03e Merge branch 'master' into staging-next 2024-06-29 10:13:13 +03:00
Artturin
62f1a10760
Merge pull request #322135 from kilianar/stellarium-24.2
stellarium: 24.1 -> 24.2
2024-06-28 16:14:50 +03:00
github-actions[bot]
27074b7d07
Merge master into staging-next 2024-06-26 00:02:13 +00:00
R. Ryantm
c2bf44e56f siril: 1.2.1 -> 1.2.3 2024-06-25 05:43:30 +00:00
kilianar
16bd506b5c stellarium: 24.1 -> 24.2
https://github.com/Stellarium/stellarium/releases/tag/v24.2
2024-06-24 10:42:36 +02:00
Emily
fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
kilianar
b5c0eb0b90 stellarium: add passthru.tests.version
Add a passthru test to stellarium to verify it can be started and print
its version.

The test runs stellarium with a temporary home directory
using xvfb-run, since stellarium requires a writable home directory and
cannot be run in headless mode.
2024-05-27 10:48:01 +02:00
Kierán Meinhardt
0ad69fc611 astrolog: 7.30 -> 7.70 2024-05-14 19:36:00 +02:00
Lyle Hanson
76fe809b59 siril: 1.2.0 -> 1.2.1
Upgrade to latest upstream release.

Add support for libcurl to enable features such as photometric color
calibration.
2024-05-06 12:38:57 -04:00
Weijia Wang
7f45fee52a Merge branch 'master' into staging-next 2024-04-28 04:02:14 +02:00
Sébastien Maret
ef401a3702
gildas: 20230801_a -> 20240401_a; fix build on darwin (#304813)
- Use GNU's cpp instead of Apple's (see #304528)

- Use clang and clang++ on darwin-aarch64

- Update from 20230801_a -> 20240401_a

Closes #304516
2024-04-27 19:56:58 +08:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Mario Rodas
ebdd21f207
Merge pull request #299214 from kilianar/stellarium-24.1
stellarium: 23.4 -> 24.1
2024-04-19 22:05:15 -05:00
Bruno Bzeznik
bc4802a7d6 kstars: 3.6.9 -> 3.7.0 + fixing build failure 2024-04-03 14:33:32 +02:00
kilianar
47c36c508d stellarium: 23.4 -> 24.1
https://github.com/Stellarium/stellarium/releases/tag/v24.1
2024-03-26 15:59:02 +01:00
Sandro
e03f06c40f
Merge pull request #281099 from bzizou/kstars
kstars: 3.6.7 -> 3.6.9
2024-03-24 21:57:09 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
6c08d7994a calcmysky: 0.3.1 -> 0.3.2 2024-03-11 12:27:56 +00:00
Bruno Bzeznik
f9b6960581 kstars: 3.6.7 -> 3.6.9 2024-02-12 08:00:53 +01:00
Nikolay Korotkiy
6d544c6ff1
gnuastro: add meta.changelog 2024-02-05 18:44:12 +04:00
R. Ryantm
5727c18299 gnuastro: 0.21 -> 0.22 2024-02-05 05:41:57 +00:00
Weijia Wang
864ba7fd57
Merge pull request #277673 from r-ryantm/auto-update/phd2
phd2: 2.6.12 -> 2.6.13
2024-01-05 00:59:42 +01:00
Weijia Wang
2f787a3dfe
Merge pull request #274004 from r-ryantm/auto-update/celestia
celestia: 1.6.3 -> 1.6.4
2024-01-03 16:30:30 +01:00
R. Ryantm
2aa11b0ee6 phd2: 2.6.12 -> 2.6.13 2023-12-30 07:01:45 +00:00
kilianar
ec2daea6e2 stellarium: 23.3 -> 23.4
https://github.com/Stellarium/stellarium/releases/tag/v23.4
2023-12-24 10:08:44 +01:00
R. Ryantm
0d31c8b213 celestia: 1.6.3 -> 1.6.4 2023-12-13 15:52:46 +00:00