Commit Graph

21 Commits

Author SHA1 Message Date
R. Ryantm
8dbc7a2696 librespot: 0.4.2 -> 0.5.0 2024-10-16 01:25:38 +00: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
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +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
hacker1024
6baeb351fa
librespot: Only enable ALSA by default on Linux
Co-authored-by: Artturi <Artturin@artturin.com>
2023-09-22 19:41:05 +10:00
hacker1024
d80a9f0e21 librespot: Set ALSA_PLUGIN_DIR 2023-09-22 15:04:56 +10:00
figsoda
f01c9db412 librespot: unbreak on darwin 2022-12-16 23:44:29 -05:00
R. Ryantm
7df8d466f2 librespot: 0.3.1 -> 0.4.2 2022-08-11 06:29:25 +00:00
Dmitry Kalinkin
1616d5dfb4
librespot: mark as broken on darwin 2022-01-24 13:59:15 -05:00
figsoda
ce0da1b871 librespot: use buildFeatures 2021-11-16 08:11:48 -05:00
Timur Demin
7cbb26bb9d
librespot: 0.3.0 -> 0.3.1 (#142855) 2021-10-25 16:39:38 +02:00
Timur Demin
b752cde8a9
librespot: 0.2.0 -> 0.3.0 2021-10-14 09:58:27 +05:00
Timur Demin
60b41214de
librespot: 0.1.6 -> 0.2.0, remove Cargo lock 2021-10-14 00:43:10 +05:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Benno Fünfstück
8b882a5842 librespot: 0.1.3 -> 0.1.6 2021-05-02 14:26:40 +02: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
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Greizgh
7ccc0151f8 librespot: 0.1.1 -> 0.1.3 2020-08-10 20:07:30 +02:00
Benno Fünfstück
6580c59352 librespot: init at 0.1.1 2020-06-19 13:07:49 +02:00