Commit Graph

39 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
éclairevoyant
e273bc80a5
treewide: remove existing usages of pname+version in fetchCargoTarball
This is done because the existing fetchCargoTarball does not support pname or version, resulting in a vendor tarball
with the name cargo-deps-vendor.tar.gz. Since adding pname+version support would change the name of the derivation,
and therefore its hash, we remove existing usages to avoid treewide breakage.
2024-09-07 01:10:33 -04:00
aleksana
51096f2d7a gnome-podcasts: 0.6.1 -> 0.7.1 2024-06-22 22:44:46 +08:00
Bobby Rong
cc01c004d3
pkgs/applications: Move away from wiki.gnome.org
The wiki.gnome.org site is planned for retirement.
2024-05-01 11:44:27 +08: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
Kirill Radzikhovskyy
65f065e854 gnome-podcasts: de-vendor Cargo.lock 2024-01-13 12:09:58 +09:00
Jan Tojnar
1077b79951 gnome-podcasts: 0.6.0 → 0.6.1
Diff: https://gitlab.gnome.org/World/podcasts/-/compare/0.6.0...0.6.1
2023-12-02 15:32:20 +01:00
zendo
43b9e26bbb gnome-podcasts: 0.5.1 -> 0.6.0 2023-07-04 21:48:19 +08:00
Alyssa Ross
5e06b3cb19 treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
2023-05-12 15:31:21 +00:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
Bobby Rong
adc5c392f4
gnome-podcasts: fix build with meson 0.61 2022-03-23 19:10:59 +08:00
Dmitry Kalinkin
151810b332
gnome-podcasts: mark as broken on darwin 2022-01-05 20:46:31 -05:00
Alyssa Ross
0acaa41748
gnome-podcasts: 0.5.0 -> 0.5.1 2022-01-04 01:27:40 +00:00
Tom Fitzhenry
c9d7c394a7 gnome-podcasts: 0.4.9 -> 0.5.0 2021-12-09 09:15:41 +11:00
Daniel Șerbănescu
8990f68de3 gnome-podcasts: removed cmake from dependencies 2021-05-19 06:31:36 +02:00
Daniel Șerbănescu
89631e4df2 gnome-podcasts: 0.4.8 -> 0.4.9 2021-05-18 17:03:43 +02:00
WORLDofPEACE
434768ad64 gnome-podcasts: don't mark as broken
https://github.com/NixOS/nixpkgs/pull/116324
2021-03-21 01:13:48 -04:00
Sandro Jäckel
f6f7932a44
gnome-podcasts: mark broken 2021-03-17 22:55:09 +01:00
Jan Tojnar
c3b4d2d073
gnome-podcasts: port away from buildRustPackage
The new setup hooks compose better with Meson setup hooks.

Also correct license.
2021-03-14 17:49:07 +01:00
Sandro Jäckel
02395fe7d4
gnome-podcasts: remove unused input 2021-02-22 01:16:24 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08: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
Pacman99
94ba22c1fa gnome-podcasts: add dependency gst-plugins-good
This fixes "No decoder available for type
'application/x-id3'"
2020-12-07 11:59:03 -08:00
Atemu
703a72f4d3
gnome-podcasts: use libhandy_0 2020-10-24 01:17:50 +02:00
R. RyanTM
7e858f9a47 gnome-podcasts: 0.4.7 -> 0.4.8 2020-07-13 10:42:11 +02:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next 2020-04-13 18:50:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
15002f1cfd
tree-wide: Switch from gnome3.maintainers to lib.teams.gnome 2020-04-01 14:41:43 +02:00
Jörg Thalheim
8ccfa1e212
gnome-podcasts: fix strict deps build 2020-03-29 12:37:24 +01:00
Benjamin Hipple
68a8115e10 gnome-podcasts: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-16 03:49:11 -05:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
Jan Tojnar
cce5926ae9
orca: 3.34.0 → 3.34.1
https://ftp.gnome.org/pub/GNOME/sources/orca/3.34/orca-3.34.1.news

Also format with nixpkgs-fmt.
2019-11-20 04:57:59 +01:00
Jan Tojnar
1447158d7f
gnome-podcasts: 0.4.6 → 0.4.7
https://gitlab.gnome.org/World/podcasts/blob/0.4.7/CHANGELOG.md#047-2019-10-23
2019-11-20 04:57:58 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00: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
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
worldofpeace
99c63147e0 gnome-podcasts: fix build 2019-04-10 03:36:31 -04:00
Jan Tojnar
3782e127bc
gnome-podcasts: init at 0.4.6 2018-11-30 21:35:18 +01:00