Commit Graph

24 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Zhong Jianxin
93f868007b rtorrent: Fix build on darwin 2024-11-03 19:40:15 +08:00
Zhong Jianxin
799ae392da rtorrent: Format using nixfmt-rfc-style 2024-11-03 19:29:38 +08:00
Sergei Trofimovich
92248b23e5 rtorrent: fix updateScript eval
Without the change updater run fails as:

    error: function 'anonymous lambda' called with unexpected argument 'tagPrefix'
2024-10-05 11:34:00 +10:00
makefu
ce08b9430a
rtorrent,libtorrent: replace unstableGitUpdater with gitUpdater 2024-10-02 21:10:17 +02:00
makefu
4293158115
rtorrent: 0.9.8-unstable -> 0.10.0
stable release after ~5 years
ref: https://github.com/rakshasa/rtorrent/releases/tag/v0.10.0
2024-09-29 23:04:30 +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
R. Ryantm
ed9023524d rtorrent: 0.9.8-unstable-2024-08-31 -> 0.9.8-unstable-2024-09-07 2024-09-16 06:42:15 +00:00
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Jakub Mendyk
e49b60f627 rtlamr: init at 0.9.3-unstable-2023-08-13 2024-09-11 14:58:31 +02:00
R. Ryantm
bb4226cdd5 rtorrent: 0.9.8-unstable-2024-08-20 -> 0.9.8-unstable-2024-08-31 2024-09-05 10:52:17 +00:00
R. Ryantm
525f35f16e rtorrent: 0.9.8-unstable-2024-08-09 -> 0.9.8-unstable-2024-08-20 2024-08-24 09:50:08 +00:00
R. Ryantm
e086f1faaa rtorrent: 0.9.8-unstable-2023-03-16 -> 0.9.8-unstable-2024-08-09 2024-08-10 03:51:47 +00:00
Thiago Kenji Okada
ba42623fd5 rtorrent: use multiple outputs, update documentation 2024-06-26 11:06:04 -03:00
Thiago Kenji Okada
273ed5610c rtorrent: remove nested usage of with 2024-06-25 16:17:25 -03:00
Thiago Kenji Okada
2293f663f8 rtorrent: move to pkgs/by-name 2024-06-25 11:46:20 -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
Doron Behar
f3f3baf0ed rtl_fm_streamer: mark as broken on x86_64-darwin 2024-06-06 15:34:04 +03:00
Doron Behar
15154642a9 rtl_fm_streamer: init at unstable-2021-06-08 2024-06-06 15:33:10 +03:00
OPNA2608
15392f7b82 rtaudio_6: Modernise
Some (but not all) changes:

- finalAttrs
- strictDeps
- SRI hash
- lib.cmakeBool flags
- meta changelog & pkgConfigModules
- pkg-config test
2024-04-29 15:59:35 +02:00
OPNA2608
26dab21459 rtaudio_6: init at 6.0.1 2024-04-26 12:37:42 +02:00
Tungsten842
a1080ded57 rtl-sdr: refactor, add rtl-sdr-blog and set it as default 2024-04-16 20:55:35 +02:00
Alexis Praga
7629ea877f rtg-tools: init at 3.12.1
A subset of RTG Core that includes several useful utilities for dealing with VCF files and sequence data.
Mostly used for vcfeval to compare VCF.
2024-04-02 23:20:30 +02:00
skovati
98aadc594c
osmo-rtl-sdr: init at 2.0.1 2023-11-15 04:44:50 +00:00