Commit Graph

132 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
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Emery Hemingway
1a72ea7722 ehmry: reduce maintainership 2024-02-09 11:45:41 +00:00
R. Ryantm
1545ace634 mpd: 0.23.14 -> 0.23.15 2023-12-22 05:07:23 +00:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Daniel Hill
219e235433 mpd: add soxr resampler support 2023-10-22 20:51:41 +13:00
Naïm Favier
a3180e1e5b
mpd: 0.23.13 -> 0.23.14
https://www.musicpd.org/news/2023/10/mpd-0-23-14-released/
2023-10-08 15:14:51 +02:00
Naïm Favier
7ce5b8e78a
mpd: 0.23.12 -> 0.23.13
https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.23.13/NEWS
2023-05-22 22:39:08 +02:00
Gabriel Fontes
5a6f013602
mpd: remove pipewire API workaround
This is not needed anymore since 0.23.12, as mpd has updated to the new API changes
2023-04-29 23:45:57 -03:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
R. Ryantm
b7cf10b433 mpd: 0.23.11 -> 0.23.12 2023-01-29 13:13:19 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
K900
c9f1487cb8 mpd: fix build 2023-01-15 14:09:16 +03:00
Adam Simpson
a4952c81d7
mpd: 0.23.9 -> 0.23.11 2022-12-01 10:43:25 -05:00
Sandro Jäckel
3a6d60dcaf mpd: fix cross compile 2022-09-08 02:30:43 +03:00
R. Ryantm
490296d928 mpd: 0.23.8 -> 0.23.9 2022-08-23 23:03:25 +02:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
Yestin L. Harrison
ae74cf3bb5 mpd: fix 0.23.8 on darwin
- 0.23.8 includes c975d8b943
- said change fixes deprecation warnings introduced in the 12.0 sdk, using definitions from the 12.0 sdk
- nixpkgs uses 10.12 and 11.0, neither of which are the 12.0 sdk
- this will gracefully degrade into a no-op when that changes
2022-07-23 16:00:37 +02:00
Ilan Joselevich
d7af7b160a mpd: 0.23.7 -> 0.23.8 2022-07-16 00:42:02 +03:00
Martin Weinelt
cdcc2b1c61
mpd: 0.23.6 -> 0.23.7
https://musicpd.org/news/2022/05/mpd-0-23-7-released/
2022-07-08 12:59:58 +02:00
Pavel Borzenkov
267af27a65 mpd: enable NFS support on Darwin
mpd builds and works just fine with NFS on Darwin.
2022-05-17 12:01:02 +02:00
R. Ryantm
589cdcefc9 mpd: 0.23.5 -> 0.23.6 2022-03-18 12:17:15 +00:00
Ryan Burns
716e8a2939 mpd: fix build on x86_64-darwin
The darwin-specific AssertMacros header has some legacy macros with very
generic names such as "check" which happen to conflict with mpd's
headers. We can explicitly opt out of these macros - at some point in
the future, they will not be defined by default.

Also remove stdenv override, not needed now that x86_64-darwin uses LLVM 11
2022-02-15 22:42:05 -08:00
Franz Pletz
97f90da9fa
mpd: 0.23.4 -> 0.23.5 2022-01-25 03:22:35 +01:00
Naïm Favier
a3a799ca59
mpd: remove unknown build options 2022-01-22 13:44:40 +01:00
Tobias Mayer
6bb5bcd6f5 mpd: disable pipewire for all but linux 2021-11-17 22:07:36 +01:00
Martin Weinelt
1332cffaeb mpd: 0.23.2 -> 0.23.4 2021-11-17 17:48:28 +01:00
joachimschmidt557
86d572c86a
mpd: 0.22.11 -> 0.23.2, activate pipewire 2021-10-24 20:56:38 +02:00
Tobias Mayer
3ce2e89dec
mpd: 0.22.10 -> 0.22.11 2021-10-10 11:58:57 +02:00
wizardwatch
08c66abd89
mpd: 0.22.9 -> 0.22.10 (#132936)
bump mpd version
2021-08-07 08:48:29 +02:00
Ilan Joselevich
373e9efc26 mpd: 0.22.8 -> 0.22.9 2021-06-27 02:44:25 +03:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
fortuneteller2k
2af57b784f mpd: 0.22.6 -> 0.22.8 2021-06-04 22:37:27 +08:00
fortuneteller2k
966e16c005 mpd: 0.22.5 -> 0.22.6 2021-02-26 16:30:46 +08:00
R. RyanTM
9b4fa5a54b mpd: 0.22.4 -> 0.22.5 2021-02-17 09:41:21 +00:00
AndersonTorres
f53698c8df mpd: mpd_clientlib -> libmpdclient 2021-02-12 08:28:36 -03:00
R. RyanTM
1554469f85 mpd: 0.22.3 -> 0.22.4 2021-01-30 16:28:46 +00:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07: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
Camille
05f93d4630
mpd-small: remove mad from features
this feature already gets enabled when the environment is not darwin (see line 202), keeping it in the 'standard features' breaks the build for darwin currently.
2021-01-02 16:23:23 +01:00
R. RyanTM
1e7c662e95 mpd: 0.22.2 -> 0.22.3 2020-11-19 01:23:19 +00:00
R. RyanTM
74dcd27d78 mpd: 0.22.1 -> 0.22.2 2020-11-03 07:55:26 +00:00
V
99fabc5779 mpd: remove unused fetchpatch argument
This argument is no longer referenced anywhere as of #93143.
2020-10-26 15:40:32 +00:00
Fabian Möller
40c9b2840b
mpd: fix build without documentation feature
The man pages are only generated when the `documentation` feature is
activated (sphinx is found). Otherwise no files are installed in `$man`
and the output is not created.
2020-10-22 12:55:25 +02:00
arcnmx
e7e80d2571 mpd: 0.22 -> 0.22.1 2020-10-19 18:04:27 -07:00
Tobias Mayer
7c1ce3b1e6 mpd: 0.21.25 -> 0.22 2020-10-01 18:58:22 +03:00
Tobias Mayer
292c914f03
mpd: 0.21.23 -> 0.21.25 2020-07-14 21:58:16 +02:00
Doron Behar
c611762dda mpd: Use latest ffmpeg 2020-07-03 10:59:11 +03:00