Commit Graph

33 Commits

Author SHA1 Message Date
R. Ryantm
1df9f2a2ec sqlitebrowser: 3.13.0 -> 3.13.1 2024-10-16 19:46:43 +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
Jacek Galowicz
0433842778 sqlitebrowser: Fix build for macOS 2024-09-17 21:54:40 +02:00
R. Ryantm
8db7567216 sqlitebrowser: 3.12.2 -> 3.13.0 2024-07-23 04:58:11 +00: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
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
Kira Bruneau
73df68c1ab sqlitebrowser: fix darwin build 2021-11-09 22:06:21 -05:00
Cedric Staniewski
10bed7eeee sqlitebrowser: enable support for encrypted databases 2021-10-24 22:18:10 +02:00
R. RyanTM
d1372ea51a sqlitebrowser: 3.12.1 -> 3.12.2 2021-08-18 01:45:07 +00:00
Bjørn Forsman
397e068a54 sqlitebrowser: add wrapGAppsHook
Fixes opening file dialogs on non-NixOS:

$ ./result/bin/sqlitebrowser
[... try to open a file dialog: File -> Open Database ...]
(.sqlitebrowser-wrapped:7229): GLib-GIO-ERROR **: 11:27:46.197: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
Trace/breakpoint trap (core dumped)
2021-07-03 11:36:19 +02:00
Olli Helenius
b2bf2c6102 antlr: make 4.8 default 2021-06-20 14:06:47 +03:00
Daniel Nagy
dff920b89c sqlitebrowser: 3.12.0 -> 3.12.1 2020-12-29 22:30:31 +01:00
Peter Hoeg
fea4603212 sqlitebrowser: 3.11.2 -> 3.12.0 (#91271) 2020-06-22 11:19:35 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Patrick Hilhorst
593e11fd94 treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
Robin Gloster
313da176d3 treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Maximilian Bosch
9842c4b107 treewide: update which packages I'm currently maintaining
Idea shamelessly stolen from 4e60b0efae.

I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.

As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.

I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
2019-12-26 15:27:47 +01:00
Peter Hoeg
ffbf1db5c2 sqlitebrowser: build on darwin too 2019-08-26 19:20:59 +08:00
Peter Hoeg
96f5d7941a sqlitebrowser: do not use vendored qscintilla 2019-08-26 19:09:59 +08:00
Maximilian Bosch
731fdbef7c sqlitebrowser: 3.10.1 -> 3.11.2
The latest releases of `sqlitebrowser` contain several new features like
a dark mode, improved CSV import/export and a lot of new bugfixes:

https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.11.2
https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.11.1
https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.11.0

Also some minor changes were applied to the package definition:

* Using the `pname`/`version` convention now.
* Use internal `qscintilla` rather than our package to fix the build
  (https://github.com/sqlitebrowser/sqlitebrowser/issues/1348#issuecomment-374170936).
  This can probably be removed when https://github.com/NixOS/nixpkgs/pull/56034 is merged.
* Dropped patch which removed Test and Print support as QT 5.12 is now
  used to build the application.
2019-05-23 15:10:35 +02:00
Piotr Bogdan
a898c8335d sqlitebrowser: link with libQt5PrintSupport explicitly 2019-01-04 21:44:21 +00:00
Orivej Desh
136b947997 sqlitebrowser: list ma27 as the maintainer (from #43047) 2018-07-05 10:11:19 +00:00
Matthias Beyer
ce1c1e3093 Remove maintainership
With this patch I remove myself as a maintainer for all packages I
currently maintain.

This is due the fact that I will be basically off the grid from May 2018
until early 2019, as I will be on a trip through north america.

I will revert this patch as soon as I'm back, as I plan to continue
contributing to nixpkgs then.
But as I cannot maintain anything during that time, I'd like to get this
patch merged.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-04-06 10:57:19 +02:00
Peter Hoeg
dd18e063ef sqlitebrowser: 3.10.0 -> 3.10.1 and make it work with Qt 5.9 2017-11-06 13:07:52 +08:00
Matthias Beyer
65b91cd23b sqlitebrowser: 3.9.1 -> 3.10.0 2017-09-13 21:44:49 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Thomas Tuegel
c816bbc8a8 qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
Nikolay Amiantov
61e5763694 sqlitebrowser: wrap Qt application 2017-05-03 18:00:22 +03:00
Renaud
80dbc4df36 sqlitebrowser: 3.8.0 -> 3.9.1
Now uses Qt5
The file CMakeLists.txt needs patching - known issue upstream
2017-03-09 00:58:00 +01:00
Matthias Beyer
d35695e3e1 Revert "sqlitebrowser: 3.8.0 -> 3.9.1"
This reverts commit f9d7d29fa9.
2017-02-21 10:48:00 +01:00
Matthias Beyer
f9d7d29fa9 sqlitebrowser: 3.8.0 -> 3.9.1 2017-02-15 14:18:53 +01:00
Eric Sagnes
ef9febe5ff sqlitebrowser: 3.7.0 -> 3.8.0 2016-03-08 10:29:56 +09:00
Matthias Beyer
7e3c95a0b8 sqlitebrowser: init at 3.7.0
[Bjørn: add name=... to fetchzip.]
2015-07-13 22:11:30 +02:00