Commit Graph

57 Commits

Author SHA1 Message Date
Ivan Mincik
866488e445 geos: fetch source code from GitHub
Co-authored-by: Luflosi <luflosi@luflosi.de>
2024-12-16 13:58:21 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Augustin Trancart
1c306ed6f5 geos: remove 3.11 version
The last package using it was python3Packages.shapely_1_8, removed in
5c493ae9ed. So we can finally drop this package.
2024-12-07 22:52:51 +01:00
Augustin Trancart
02ddbf4ee6 geos: 3.12.2 -> 3.13.0 2024-09-30 15:48:57 +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
éclairevoyant
0926bdbf98
treewide: fix uses of finalAttrs.pname in source urls 2024-07-12 20:23:39 -04:00
Ivan Mincik
f4e79757df geos: 3.11.2 -> 3.11.4 2024-06-06 15:47:29 +02:00
Ivan Mincik
234f48f8ee geos: 3.12.1 -> 3.12.2 2024-06-06 15:47:29 +02:00
Ivan Mincik
f36397c53c geos: disable failing test in geos_3_11 2024-05-26 11:12:51 +02:00
Ivan Mincik
5b4915a29e Revert "geos: fix build for darwin"
This reverts commit 2ece1844d8.
2024-05-17 10:38:46 +02:00
Sigmanificient
2ece1844d8 geos: fix build for darwin 2024-05-13 17:13:48 +02:00
Weijia Wang
fa0c748ce3 geos: fix check on x86_64-darwin 2024-04-14 20:04:05 +02: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
Sergei Trofimovich
964ba37804 geos_3_9: 3.9.2 -> 3.9.5
The main change is the build fix against `gcc-13` in` master
https://hydra.nixos.org/build/247700560:

    In file included from WKTWriter.cpp:21:
    ../../include/geos/io/WKTWriter.h:177:29: error: 'uint8_t' has not been declared
      177 |     void setOutputDimension(uint8_t newOutputDimension);
          |                             ^~~~~~~
2024-02-07 23:22:02 +00:00
Ivan Mincik
577d192058 geos: fix package test script name 2023-12-15 12:21:24 +01:00
Ivan Mincik
1b2bab090c geos: keep version 3.11 of package
Keep old version of package due to requirements
of following packages:

* kikit
* pygeos
2023-12-06 15:56:37 +01:00
Ivan Mincik
f8fda4730f geos: 3.11.2 -> 3.12.1 2023-12-05 11:22:17 +01:00
Meet Barot
886ae64cab geos: Make pkg-config modules test like the others 2023-10-16 00:36:25 -04:00
Ivan Mincik
b703fb0361 geos: add package tests 2023-09-18 22:55:10 +02:00
Sergei Trofimovich
2a3e20abeb geos: pull upstream fix for gcc-13 build failure
Without the change build against `gcc-13` fails as:

    $ nix build --impure --expr 'with import ./. {}; geos.override { stdenv = gcc13Stdenv; }' -L
    ...
    /build/geos-3.11.2/include/geos/shape/fractal/HilbertEncoder.h:41:5: error: 'uint32_t' does not name a type
       41 |     uint32_t encode(const geom::Envelope* env);
          |     ^~~~~~~~
    /build/geos-3.11.2/include/geos/shape/fractal/HilbertEncoder.h:21:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
       20 | #include <vector>
      +++ |+#include <cstdint>
2023-08-21 09:54:42 +01:00
Mike Taves
78188e2b61 geos: update meta attrs 2023-08-15 09:48:39 +00:00
Ivan Mincik
d1ab4689dd geos: change package maintainer to geospatial team
Maintainer change was pre-discussed with @willcohen over email.
@willcohen is now member of Geospatial team.
2023-06-19 17:23:53 +02:00
Ivan Mincik
6480e5cd8d geos: 3.11.1 -> 3.11.2
This change also removes unused `fetchpatch` function.
2023-03-20 12:36:46 +01:00
John Ericson
5df263bdc0 geos: Add meta.pkgConfigModules and test 2023-02-11 11:02:59 -05:00
Ivan Mincik
51d4147bd0 geos: 3.11.0 -> 3.11.1 2022-12-10 15:10:25 -08:00
Will Cohen
ace8d4a21f geos: 3.10.2 -> 3.11.0 2022-07-18 13:40:15 -04:00
Ben Wolsieffer
ccbf6438f1 geos: backport patch to fix config paths
Backport an upstream patch to fix the paths in geos-config and geos.pc when
built with absolute CMAKE_INSTALL_*DIR.
2022-06-23 19:49:53 -04:00
Will Cohen
6a3cd2f6d7 geos: add willcohen to maintainers 2022-03-30 11:53:30 -04:00
Will Cohen
65e92f7028 geos: 3.9.1 -> 3.10.2 2022-03-30 11:53:14 -04:00
Will Cohen
06e3b4f7a0 geos39: init at 3.9.2 2022-03-30 09:14:53 -04:00
Bruce Toll
9c85535bc7 geos: remove unnecessary python dependency
The python bindings were removed in versions starting with 3.9.0.

See: https://git.osgeo.org/gitea/geos/geos/pulls/111
2021-05-11 14:57:47 -04:00
Fabian Affolter
253f59e039 geos: 3.9.0 -> 3.9.1 2021-02-27 18:51:17 +01:00
R. RyanTM
72cd1b530e geos: 3.8.1 -> 3.9.0 2021-01-29 19:57:19 +00:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Ben Wolsieffer
b24c7c5306 geos: fix build on 32-bit ARM 2020-08-12 18:46:51 -04:00
R. RyanTM
e80d292213 geos: 3.8.0 -> 3.8.1 2020-05-05 02:06:04 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Markus Kowalewski
6937213e4a
geos: fix homepage 2019-12-07 13:47:07 +01:00
R. RyanTM
5760002d95 geos: 3.7.3 -> 3.8.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/geos/versions
2019-10-21 16:25:43 -07:00
R. RyanTM
e3732f320b geos: 3.7.2 -> 3.7.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/geos/versions
2019-10-07 01:30:26 -07:00
Orivej Desh
680f67829f geos: fix license 2019-06-06 14:45:09 +00:00
R. RyanTM
97bed5c787 geos: 3.7.1 -> 3.7.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/geos/versions
2019-05-05 01:26:40 -07:00
R. RyanTM
1758debbaf geos: 3.7.0 -> 3.7.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/geos/versions
2018-12-15 23:08:58 -08:00
R. RyanTM
98a4afc505 geos: 3.6.3 -> 3.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/geos/versions
2018-09-20 14:29:34 -07:00
R. RyanTM
376c30c839 geos: 3.6.2 -> 3.6.3 (#44781)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/geos/versions.
2018-08-09 20:14:40 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
R. RyanTM
a2c1a90f76 geos: 3.6.1 -> 3.6.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/geos/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/17821mvnx0ilvicbzxvli6jq58fg7yy6-geos-3.6.2/bin/geos-config --version’ and found version 3.6.2
- found 3.6.2 with grep in /nix/store/17821mvnx0ilvicbzxvli6jq58fg7yy6-geos-3.6.2
- directory tree listing: https://gist.github.com/bf03d4beea8e52684689747456f95948
2018-04-07 10:04:51 -07:00
Robin Gloster
b13e77fc33
geos: 3.5.0 -> 3.6.1 2017-01-25 20:12:35 +01:00
Michel Kuhlmann
dc5b2741c9 geos: 3.4.2 -> 3.5.0 (close #9770) 2015-09-17 21:19:46 +02:00