Commit Graph

913 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
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Emily
2f7b6eba4c _7zz: disable UASM properly
Closes: #353119
2024-11-03 03:40:18 +00:00
Emily
2d6cb731db
lib/licenses: mark watcom as non‐Free (#352608) 2024-11-01 23:19:09 +00:00
Guillaume Girol
9023fd43dd
peazip: 9.9.1 -> 10.0.0 (#351702) 2024-11-01 16:20:52 +01:00
Weijia Wang
ffb0f710f8
pax: 20201030 -> 20240817 (#348348) 2024-11-01 13:09:12 +01:00
Emily
5dceb649bf _7zz: disable uasm by default 2024-10-31 14:17:09 +00:00
Anna Aurora
b6611fea57
peazip: moved to by-name 2024-10-27 17:53:46 +01:00
R. Ryantm
22c57a3967 peazip: 9.9.1 -> 10.0.0 2024-10-26 17:04:56 +00:00
github-actions[bot]
cdab0d3f36
Merge master into staging-next 2024-10-26 12:05:46 +00:00
aleksana
19f851fca1 xarchive: remove 2024-10-25 22:42:52 +08:00
R. Ryantm
db7faa9a7c pax: 20201030 -> 20240817 2024-10-13 20:32:03 +00:00
Randy Eckenrode
a79ed0daec
gnutar: make sure libiconv is linked
gnutar’s `configure` detects libiconv but fails to link it on Darwin.
2024-10-10 16:23:00 -04:00
Thomas Gerbet
b41deedb62 unzip: apply patch for CVE-2021-4217
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/1957077
2024-10-08 22:12:22 +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
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
éclairevoyant
49f7e34d6e
maintainers: remove eclairevoyant 2024-09-10 15:02:41 -04:00
Peder Bergebakken Sundt
63c88c4e8a treewide: buildPhase="true" -> dontBuild=true 2024-08-23 12:21:08 +02:00
Pol Dellaiera
c8c5e1c8ca
Merge pull request #335602 from r-ryantm/auto-update/_7zz
_7zz: 24.07 -> 24.08
2024-08-20 10:43:12 +02:00
R. Ryantm
cafa5cebc4 peazip: 9.8.0 -> 9.9.1 2024-08-18 14:35:02 +00:00
R. Ryantm
2a01c732f5 _7zz: 24.07 -> 24.08 2024-08-18 12:34:37 +00:00
Alyssa Ross
5fcd336356 gnutar: disable acl and attr when unavailable
Fixes building for microblaze.
2024-08-12 17:52:57 +02:00
DontEatOreo
dcd8a19b7c
undmg: 1.1.0 -> 1.1.0-unstable-2024-08-02
Diff: https://github.com/matthewbauer/undmg/compare/v1.1.0...0d92602b694f810fa4b137d87c743f345b303a14
2024-08-02 20:56:07 +03:00
DontEatOreo
d7bf713fbe
undmg: refactor meta 2024-08-02 20:52:53 +03:00
DontEatOreo
53774f1026
undmg: format 2024-08-02 20:51:53 +03:00
Sigmanificient
aab1113d4a treewide: normalize maintainers list formatting
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Anderson Torres
9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00
Jan Tojnar
1275c3f884 Merge branch 'staging-next' into staging 2024-07-12 21:36:23 +02:00
Anderson Torres
9ffac6dc44 treewide: remove vrthra from meta.maintainers [all orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since 2017
2024-07-07 12:20:32 -03:00
github-actions[bot]
e14242d985
Merge staging-next into staging 2024-07-04 12:01:37 +00:00
github-actions[bot]
9cede82051
Merge master into staging-next 2024-07-04 12:01:10 +00:00
Anna Aurora
e7181070cc peazip: 9.7.1 → 9.8.0 2024-07-04 11:17:38 +02:00
Masum Reza
410d1213cd
Merge pull request #323983 from Aleksanaa/cargoSha256-change
treewide: remove all cargoSha256 usage
2024-07-04 10:50:18 +05:30
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
éclairevoyant
29cfb900f7
_7zz: replace fetchurl with fetchzip for stabler hashes 2024-07-03 09:31:12 -04:00
éclairevoyant
a57aa7f36f
Merge pull request #323780 from r-ryantm/auto-update/_7zz
_7zz: 24.06 -> 24.07
2024-07-02 15:42:27 +00:00
lassulus
f5243a561a
Merge pull request #299800 from auroraanna/peazip-9.7.1
peazip: 9.6.0 -> 9.7.1
2024-07-02 12:39:25 +02:00
R. Ryantm
15142942b9 _7zz: 24.06 -> 24.07 2024-07-01 10:36:51 +00:00
Tristan Ross
7b8f8c84ee
unzip: add myself as maintainer 2024-06-23 20:31:10 -07:00
Jan Tojnar
304772f50a _7zz: 24.05 → 24.06
https://sourceforge.net/p/sevenzip/discussion/45797/thread/bbe6861abe/
2024-06-13 00:41:58 +02:00
Jan Tojnar
874242dca3 _7zz: Simplify update script 2024-06-13 00:41:58 +02:00
Jan Tojnar
ee4d5eec35 _7zz: Fix updateScript without NIX_PATH
updateScripts will run from Nixpkgs root.
2024-06-13 00:41:58 +02:00
github-actions[bot]
477d2d32ff
Merge master into staging-next 2024-06-12 00:02:10 +00:00
leo60228
e111ee8f46
ctrtool: 0.7 -> 1.2.0 2024-06-11 18:13:13 -04:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01: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
Audrey Dutcher
846de80d1c various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will
include a hardcoded /usr/bin/uname invocation for FreeBSD on any
architecture other than arm. This clearly doesn't work under nix.
We must then update or otherwise patch each old config.guess.
2024-05-27 11:09:28 -04:00
Tristan Ross
94bdc4bbbb
zip: fix forward declaration errors with clang (#313305)
Ref: https://github.com/NixOS/nixpkgs/issues/313300
2024-05-22 16:21:16 +00:00
alina sireneva
1e3397fd4b
innoextract: fixed darwin build 2024-05-20 23:42:14 +03:00