Commit Graph

37 Commits

Author SHA1 Message Date
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
R. Ryantm
41f513b39e poedit: 3.4.2 -> 3.4.4 2024-07-06 11:51:57 +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
R. Ryantm
1ec5fcaf3b poedit: 3.4.1 -> 3.4.2 2023-12-29 12:21:26 +00:00
R. Ryantm
f68206441b poedit: 3.4 -> 3.4.1 2023-11-29 03:55:51 +00:00
R. Ryantm
25d5d4fd89 poedit: 3.3.2 -> 3.4 2023-10-12 18:09:35 +00:00
Daniel Șerbănescu
37eb3cb5e3 poedit: 3.3.1 -> 3.3.2 2023-07-03 19:28:40 +02:00
Raphael Robatsch
8436d44b57 poedit: 3.1.1 -> 3.3.1
The old version is really 3.1.1, and not 3.2.2, because the source hash
was still referring to the 3.1.1 tarball.

Changelog: https://github.com/vslavik/poedit/blob/v3.3.1-oss/NEWS
2023-05-24 19:45:19 +02:00
Weijia Wang
7f2fb535b4 poedit: 3.1.1 -> 3.2.2 2023-01-13 20:17:22 +01:00
Weijia Wang
07cd65bea2 treewide: drop wxGTK30-gtk2 2022-12-03 03:28:32 +01:00
R. Ryantm
aac5f1942e poedit: 3.1 -> 3.1.1 2022-08-01 05:52:03 +00:00
Daniel Șerbănescu
d194ad9627 poedit: 3.0.1 -> 3.1 2022-06-20 21:57:25 +02:00
R. Ryantm
d2aff919bc poedit: 3.0 -> 3.0.1 2021-12-20 09:00:53 +00:00
Daniel Nagy
fa6b4a9320
lucenepp: 3.0.7 -> 3.0.8 (#134481)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-12 18:22:05 +01:00
Daniel Nagy
8c2fa7b5ae
poedit: 2.4.3 -> 3.0 2021-08-22 12:36:36 +02:00
Daniel Șerbănescu
1d863bf416 poedit: 2.4.2 -> 2.4.3 2021-05-11 22:52:10 +02:00
Domen Kožar
52041b5d02
remove myself from a bunch of software I no longer use/maintain 2021-03-03 10:50:26 +00:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Daniel Nagy
51cb6bffed
poedit: use gtk3 2021-01-11 19:02:23 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Sandro
bb2839f5fc
Merge pull request #104282 from r-ryantm/auto-update/poedit
poedit: 2.4.1 -> 2.4.2
2020-11-23 13:20:47 +01:00
R. RyanTM
3340d4f057 poedit: 2.4.1 -> 2.4.2 2020-11-19 14:22:47 +00:00
Jörg Thalheim
8313dacb11 treewide: remove trailing whitespace 2020-11-18 22:37:56 -08:00
Jörg Thalheim
72f6df338d remove genesis maintainer
genesis has no longer access to github
2020-11-18 22:37:56 -08:00
R. RyanTM
46184ba62f poedit: 2.3.1 -> 2.4.1 2020-08-26 08:51:01 +02:00
R. RyanTM
c8768ec7ef poedit: 2.3 -> 2.3.1 2020-05-27 12:04:34 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
b6cd45699a poedit: 2.2.4 -> 2.3 2020-02-09 05:14:01 +00:00
R. RyanTM
899521c181 poedit: 2.2.1 -> 2.2.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/poedit/versions
2019-10-07 18:55:17 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Bignaux Ronan
3af28ab7bb poedit : 1.5.7 -> 2.2.1 2019-03-28 18:24:41 +01:00
c0bw3b
0f868d8116 Treewide: use HTTPS on SourceForge 2018-12-02 15:33:08 +01:00
Domen Kožar
b49bf121b8 rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
Pascal Wittmann
7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Domen Kožar
e67a2479e1 add poedit 2013-09-13 20:42:49 +02:00