Commit Graph

142 Commits

Author SHA1 Message Date
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
Nikolay Korotkiy
61f49a4b56
mbtileserver: migrate to by-name 2024-10-03 10:59:35 +04:00
R. Ryantm
a1223bad0c mbtileserver: 0.10.0 -> 0.11.0 2024-10-03 03:03:28 +00: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
Robert Schütz
389bca777e fittrackee: rename from fit-trackee
The former aligns with what the package is called on PyPI.
2024-09-03 10:23:55 -07:00
Nikolay Korotkiy
e05baacd43
mapproxy: 2.2.0 -> 3.0.1 (#338741) 2024-09-02 20:36:34 +04:00
Nikolay Korotkiy
88bee160aa
mapproxy: migrate to by-name 2024-09-01 20:08:43 +04:00
Robert Schütz
9bff77d497 fit-trackee: unpin authlib 2024-08-31 23:07:53 -07:00
R. Ryantm
3ed98a38f1 mapproxy: 2.2.0 -> 3.0.1 2024-09-01 04:37:57 +00:00
Sebastián Mancilla
bbfcf71833
Merge pull request #329360 from r-ryantm/auto-update/mapproxy
mapproxy: 2.0.2 -> 2.2.0
2024-08-22 18:50:43 -04:00
Robert Schütz
b7abe4e26b fit-trackee: 0.8.5 -> 0.8.6
Diff: https://github.com/SamR1/FitTrackee/compare/refs/tags/v0.8.5...v0.8.6

Changelog: https://github.com/SamR1/FitTrackee/blob/refs/tags/v0.8.6/CHANGELOG.md
2024-08-18 14:14:59 -07:00
Nikolay Korotkiy
5166728956
Merge pull request #331731 from imincik/mapserver-8.2.1
mapserver: 8.0.1 -> 8.2.1
2024-08-06 00:46:23 +04:00
Ivan Mincik
6c95b78935 mapserver: migrate to by-name 2024-08-05 12:32:16 +02:00
R. Ryantm
58e72de215 mapproxy: 2.0.2 -> 2.2.0 2024-08-05 00:15:31 +00:00
Nikolay Korotkiy
4a1623f712
mapcache: migrate to by-name 2024-08-04 12:35:00 +04:00
R. Ryantm
6515ce002a mapcache: 1.14.0 -> 1.14.1 2024-08-04 00:30:48 +00:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Ivan Mincik
8c7b86356e mapserver: code formatting 2024-08-02 12:07:20 +02:00
Ivan Mincik
5ae993741d mapserver: 8.0.1 -> 8.2.1 2024-08-02 12:02:57 +02:00
Nikolay Korotkiy
8ef3d571f0
geoserver: migrate to by-name 2024-07-26 21:12:29 +04:00
R. Ryantm
a032cb961e geoserver: 2.25.2 -> 2.25.3 2024-07-25 08:47:05 +00:00
traxys
8daf94c1f5 fit-trackee: 0.7.31 -> 0.8.5
This upgrade will require database migration updates

Diff: https://github.com/SamR1/FitTrackee/compare/v0.7.31...v0.8.5

Changelog: https://github.com/SamR1/FitTrackee/blob/v0.8.5/CHANGELOG.md
2024-07-21 19:07:04 +02:00
aleksana
07c1bc2034 treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
R. Ryantm
85d5736c30 geoserver: 2.25.1 -> 2.25.2 2024-06-22 12:29:48 +00: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
Nikolay Korotkiy
a062b23ad1
tile38: migrate to by-name 2024-06-04 21:24:57 +04:00
R. Ryantm
5f5563347d tile38: 1.32.2 -> 1.33.0 2024-06-04 17:13:24 +00:00
Rolf Schröder
404d7798af geoserver: fix invocation of update script 2024-05-29 11:56:19 +02:00
R. Ryantm
bdac6aac99 geoserver: 2.25.0 -> 2.25.1 2024-05-25 04:34:53 +00:00
Nikolay Korotkiy
64483813c2
tegola: migrate to by-name 2024-04-12 19:06:09 +04:00
Nikolay Korotkiy
59da012b5b
tegola: add geospatial team to maintainers 2024-04-12 19:06:08 +04:00
R. Ryantm
421bd7e5db
tegola: 0.19.0 -> 0.20.0 2024-04-12 19:06:02 +04:00
R. Ryantm
b8782a707b geoserver: 2.24.2 -> 2.25.0 2024-03-24 09:04:39 +00: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
Nikolay Korotkiy
439271b6ea
t-rex: migrate to by-name 2024-03-12 00:10:19 +04:00
Nikolay Korotkiy
21a16622ee
t-rex: 0.14.3 → 0.15.0-alpha3 2024-03-12 00:10:13 +04:00
Weijia Wang
4387bbfaaa
Merge pull request #282882 from r-ryantm/auto-update/mapproxy
mapproxy: 1.15.1 -> 2.0.2
2024-03-08 19:56:53 +01:00
Martin Weinelt
da001b2ed6
fit-trackee: relax sqlalchemy constraint 2024-03-06 01:47:53 +01:00
traxys
6b8b18b322 fit-trackee: 0.7.29 -> 0.7.31 2024-03-03 13:16:43 +01:00
Nikolay Korotkiy
79ceaad2f4
Merge pull request #290909 from imincik/pg_featureserv-fix-assets
pg_featureserv: install assets and configuration file
2024-02-27 00:59:42 +04:00
Ivan Mincik
d45f71eea3 pg_tileserv: install assets and configuration file 2024-02-25 08:02:01 +01:00
Ivan Mincik
31d75ec253 pg_featureserv: install assets and configuration file 2024-02-25 07:27:00 +01:00
Ivan Mincik
35521efae5
Merge pull request #281739 from rollf/geoserver-with-extensions
geoserver: add extensions and update script
2024-02-20 15:39:35 +01:00
Rolf Schröder
3ac439921f geoserver: add extensions and update script 2024-02-20 10:28:58 +01:00
R. Ryantm
e3fcf863a0 tile38: 1.32.1 -> 1.32.2 2024-02-15 14:07:49 +00:00
R. Ryantm
79affc18ff pg_featureserv: 1.3.0 -> 1.3.1 2024-02-07 07:19:15 +00:00
Nikolay Korotkiy
70bf8a38a7
pg_tileserv: 1.0.10 → 1.0.11 2024-02-02 21:56:38 +04:00
traxys
1b3cbb70f3 fit-trackee: 0.7.22 -> 0.7.29 2024-01-26 22:05:56 +01:00
R. Ryantm
0c8e9eabb1 geoserver: 2.24.1 -> 2.24.2 2024-01-26 06:37:06 +00:00
R. Ryantm
11f0b99fbb mapproxy: 1.15.1 -> 2.0.2 2024-01-22 12:02:54 +00:00