Commit Graph

45 Commits

Author SHA1 Message Date
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Robin Gloster
e57c6f852e treewide: reduce maintenance by globin 2025-12-07 17:37:26 +01:00
Emily
de37ac59a4 mariadb-connector-c_{3_1,3_2,3_3}: backport patch for CMake 4 2025-09-14 22:03:39 +01:00
Emily
9a988edb4a mariadb-connector-c_{3_1,3_2,3_3}: conditionalize GCC 15 patch
This won’t be needed for 3.4 when that version is added, but will
stay around for older versions.
2025-09-14 22:03:15 +01:00
Sandro Jäckel
cc4495a889 mariadb-connector-c: fix build against gcc15 2025-09-13 16:17:39 +02:00
Sandro Jäckel
a7712eb1f3 mariadb-connector-c: set a homepage 2025-09-13 16:17:35 +02:00
Sandro Jäckel
8bb0b542d7 mariadb-connector-c: use --replace-fail 2025-09-13 16:17:30 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02: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
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
TomaSajt
7f98396a16 mariadb-connector-c: remove top-level with lib; 2024-06-30 12:52:21 +02:00
Sergei Trofimovich
5de4edd389 mariadb-connector-c: switch links over to github
github links have slightly fresher versions.
2023-12-04 21:11:19 +00:00
Izorkin
611b957c98 mariadb-connector-c: fix locate libdir and plugindir 2023-08-15 21:02:28 +03:00
Izorkin
d4faf87c9f mariadb-connector-c: init at 3.3.5 2023-08-15 21:02:23 +03:00
Izorkin
441043771b mariadb-connector-c: 3.2.5 -> 3.2.7 2023-08-15 20:59:15 +03:00
Izorkin
998b9918bf mariadb-connector-c: 3.1.13 -> 3.1.21 2023-08-15 20:59:03 +03:00
ajs124
db051013ed mariadb-connector-c: 3.2.3 -> 3.2.5
https://mariadb.com/kb/en/mariadb-connector-c-324-release-notes/
https://kb-mirror.mariadb.com/kb/en/mariadb-connector-c-325-release-notes/
2022-01-21 02:40:44 +01:00
schnusch
87e4cf09dc mariadb-connector-c: remove broken src url 2022-01-21 02:38:59 +01:00
github-actions[bot]
c39cd5f314 Merge master into staging-next 2021-11-26 00:01:38 +00:00
SCOTT-HAMILTON
b47648f6c8 mariadb-connector-c: fix static build (#147166) 2021-11-25 16:03:55 -05:00
Artturin
e148f5ff46 mariadb-connector-c: install my_config.h
https://github.com/bmwiedemann/openSUSE/blob/master/packages/m/mariadb-connector-c/mariadb-connector-c.spec#L152
https://github.com/NixOS/nixpkgs/issues/146340

arch, however, packages it in their mariadb-libs package which provides
connector-c so a nixpkgs mariadb maintainer may want to look into that
https://archlinux.org/packages/extra/x86_64/mariadb-libs/files/
2021-11-18 02:03:17 +02:00
ajs124
9aad425904 libmysqlclient: init 3.2 and default to it
https://mariadb.com/kb/en/changes-and-improvements-in-mariadb-connector-c-32/
2021-08-12 13:22:39 +02:00
ajs124
8cde2b8d37 mariadb-connector-c: 3.1.12 -> 3.1.13
https://mariadb.com/kb/en/mariadb-connector-c-3113-release-notes/
2021-06-23 23:57:42 +02:00
Izorkin
1f3560bb68 mariadb-connector-c: 3.1.8 -> 3.1.12 2021-04-24 11:51:50 +03:00
sternenseemann
92887309bb mariadb-connector-c: correct license, lgpl 2.1 or later 2021-03-20 01:40:48 +01:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Thomas Tuegel
f72d7dcf77 mariadb-connector-c: separate .dev output 2020-09-12 06:58:20 -05:00
Izorkin
c1983f71a2 mariadb-connector-c: 3.1.7 -> 3.1.8 2020-05-15 16:37:48 +03:00
Jörg Thalheim
b93ef3bf00 Merge pull request #80756 from B4dM4n/mariadb-pkgconfig-link
mariadb-connector-c: add mysqlclient.pc pkgconfig symlink
2020-02-25 19:13:44 +00:00
Izorkin
ca4cec7c87 mariadb-connector-c: 3.1.5 -> 3.1.7 2020-02-23 10:36:38 +03:00
Fabian Möller
349a991bfb mariadb-connector-c: add mysqlclient.pc pkgconfig symlink 2020-02-21 23:05:44 +01:00
Izorkin
571c59fa42 mariadb-connector-c: 3.1.4 -> 3.1.5 2019-11-12 14:51:45 +01:00
Frederik Rietdijk
d9642e006f mariadb-connector-c: make patch only for darwin to reduce rebuilds 2019-10-30 15:01:52 +01:00
Izorkin
638edb9528 mariadb-connector-c: fix crypt_libs 2019-10-30 15:00:43 +01:00
Izorkin
527372f2ec mariadb-connector-c: fix mysql_version.h search error 2019-10-25 12:40:53 +03:00
Izorkin
ffae858195 mariadb-connector-c: 3.1.2 -> 3.1.4 2019-10-23 10:01:40 +03:00
ajs124
532c3a6075 mariadb-connector-c: fix socket path 2019-09-29 13:03:05 +02:00
Vladimír Čunát
22a216849b Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Izorkin
edf389d92b mariadb-connector-c: drop v2.3 2019-09-09 16:05:01 +03:00
Izorkin
3def2b4b6a mariadb-connector-c: init at 3.1.2 2019-09-09 15:55:34 +03:00
Izorkin
cfb909229d mariadb-connector-c: move to external package 2019-09-09 15:55:34 +03:00