Commit Graph

58 Commits

Author SHA1 Message Date
R. Ryantm
6ffb12c9f9 kine: 0.13.2 -> 0.13.3 2024-11-10 04:34:25 +00:00
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
Noa Aarts
8ad3334599
kitsas: add qtwayland build input for linux 2024-10-29 10:39:59 +01:00
Noa Aarts
74b36317c0
kitsas: move to by-name 2024-10-29 10:39:46 +01:00
6543
a88de6ff8c kin-openapi: init at 0.128.0
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-10-27 17:58:07 +01:00
Aleksana
d81355398d
kid3: migrate to by-name (#348264) 2024-10-20 22:22:21 +08:00
Honnip
a544ca2392
kiwitalk: drop 2024-10-17 12:47:53 +09:00
Anderson Torres
9cdf75404d kid3: migrate to by-name 2024-10-13 10:36:47 -03:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
techknowlogick
8c245619f2 kine: init at 0.13.2 2024-10-08 20:50:15 -04:00
seth
83edf5a626
kiwitalk: use cargo-tauri.hook 2024-09-30 20:13:15 -04: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
Peder Bergebakken Sundt
95865f4ea7
kitex: 0.11.0 -> 0.11.3 (#341938) 2024-09-18 02:16:46 +02: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
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
Aaron Jheng
259f670ec5
kitex: 0.11.0 -> 0.11.3 2024-09-15 01:00:23 +00:00
R. Ryantm
888540f588 kitex: 0.10.3 -> 0.11.0 2024-09-09 17:25:58 +00:00
Emily
0c7aafc7f5
musly: add patches for FFmpeg 7, C++17, and external deps; kissfft: build with CMake; libresample: 0.1.3 -> 0.1.4-unstable-2024-08-23 (#332035) 2024-08-27 01:12:57 +01:00
Emily
1f81efc8a0 kissfft: build with CMake
Fix the library install names on macOS and replace a patch with a
smaller one.
2024-08-26 22:37:33 +01:00
Emily
990e96533e kissfft: format with nixfmt-rfc-style 2024-08-26 22:37:33 +01:00
Emily
1d22e2ecd9 kissfft: move to pkgs/by-name 2024-08-26 22:37:33 +01:00
OTABI Tomoya
e8c29c7885
Merge pull request #336124 from jfly/kikit-on-python312
kicad: use python 3.12, kikit: use python 3.12
2024-08-23 09:40:34 +09:00
Sebastián Mancilla
44d6eaa009
Merge pull request #331996 from aaronjheng/kitex
kitex: 0.10.2 -> 0.10.3
2024-08-22 18:51:20 -04:00
Jeremy Fleischman
3fc660733b
kikit: 1.5.0 -> 1.6.0
kikit 1.5.0 bundles an old version of versioneer that doesn't work with
Python 3.12. See this usptream issue for details:
https://github.com/yaqwsx/KiKit/issues/680

This was fixed in
e0c312ae10,
which first landed in kikit 1.6.0. So, let's upgrade and finally get this
building on Python 3.12!

This fixes https://github.com/NixOS/nixpkgs/issues/325220
2024-08-21 07:25:54 -07:00
Jeremy Fleischman
5c493ae9ed
python3Packages.shapely_1_8: remove
Shapely 1.8 is old unmaintained. We originally had to introduce it to nixpkgs in
order to package kikit, but recently kikit upstream dropped the
requirement to use an old version of shapely
(https://github.com/yaqwsx/KiKit/issues/574#issuecomment-1879721181).

Upstream relaxed the version constraint in
3427a8d6ce,
which first landed in kikit 1.5.0, which we're already packaging, so
we're free to drop shapely 1.8!
2024-08-21 07:25:54 -07:00
Honnip
94d2af6419
kiwitalk: fix builds with Rust 1.80
This commit fixes the build failure with Rust 1.80 by updating `time` crate.

See https://github.com/NixOS/nixpkgs/issues/332957, https://github.com/rust-lang/rust/issues/127343
2024-08-19 22:38:21 +09:00
Aaron Jheng
ecf45c7639
kitex: 0.10.2 -> 0.10.3 2024-08-05 01:43:35 +00:00
R. Ryantm
8383d1dddd kitex: 0.10.1 -> 0.10.2 2024-07-25 12:42:29 +00:00
Martin Weinelt
de245ec4a5
Merge remote-tracking branch 'origin/master' into staging-next 2024-06-25 13:00:25 +02:00
R. Ryantm
56f4ea65f8 kitex: 0.10.0 -> 0.10.1 2024-06-24 13:27:45 +00:00
github-actions[bot]
098fe8ee26
Merge staging-next into staging 2024-06-14 18:01:39 +00:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Aaron Jheng
97c6f1c5e8
kitex: init at 0.10.0 2024-06-12 15:20:19 +08:00
R. Ryantm
a1545af007 kittysay: 0.6.0 -> 0.8.0 2024-06-11 04:18:48 +00:00
Sandro
685664ff79
Merge pull request #316205 from eljamm/ki-dev
ki: fix beartype error and format with nixfmt
2024-06-10 17:26:07 +02: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
Sefa Eyeoglu
18b124840f
kiwitalk: use pnpm.fetchDeps
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-02 19:56:11 +02:00
eljamm
95016007bf
ki: fix beartype error and format with nixfmt
The `copy_note_media` function wrongly returns a `Frozenset` instead of
a `Set`, which raises an error for the newest beartype version (v0.18.5)
2024-05-31 17:08:00 +01:00
Sigmanificient
cc8120d3ff pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
Fabian Affolter
bf6276ffa8 killerbee: limit platform support 2024-05-22 10:19:19 +02:00
Fabian Affolter
3afead06bd killerbee: format with nixfmt 2024-05-22 10:18:37 +02:00
Fabian Affolter
e0a07d84b8 killerbee: refactor 2024-05-22 10:17:40 +02:00
R. Ryantm
e09c9900d9 kittysay: 0.5.0 -> 0.6.0 2024-05-08 01:42:49 +00:00
eljamm
ff79bb31cf
ki: init at 0-unstable-2023-11-08
Signed-off-by: eljamm <fedi.jamoussi@protonmail.ch>
2024-04-26 00:50:16 +01:00
isabel
05ee93256b
kittysay: init at 0.5.0 2024-04-14 17:38:53 +01:00
Felix Buehler
4a6031fb7c python312Packages.pcbnewtransition: rename from pcbnew-transition 2024-03-21 22:08:35 +01:00
Jeremy Fleischman
9f7c981bec
kikit: 1.4.0 -> 1.5.0
This includes support for KiCad 8 (see complete changelog
[here](https://github.com/yaqwsx/KiKit/releases/tag/v1.5.0)), which should unblock
https://github.com/NixOS/nixpkgs/pull/291134.

With this upgrade, a test started failing:

    $ nix build .#kikit
    ...
    kikit> not ok 40 Steel stencils
    kikit> # (in test file /build/source/test/system/stencil.bats, line 6)
    kikit> #   `kikit stencil create  --jigsize 60 60 $RES/conn.kicad_pcb steelStencil' failed
    kikit> # 04:32:16: Error: Directory '/homeless-shelter' couldn't be created (error 13: Permission denied)
    kikit> # An error occurred: OpenSCAD is not available.
    kikit> # Did you install it? Program `openscad` has to be in PATH
    kikit> # No output files produced
    kikit> not ok 41 Steel stencils with cutout
    kikit> # (in test file /build/source/test/system/stencil.bats, line 10)
    kikit> #   `kikit stencil create  --jigsize 60 60 --cutout J4 $RES/conn.kicad_pcb steelStencil' failed
    kikit> # 04:32:17: Error: Directory '/homeless-shelter' couldn't be created (error 13: Permission denied)
    kikit> # An error occurred: OpenSCAD is not available.
    kikit> # Did you install it? Program `openscad` has to be in PATH
    kikit> # No output files produced
    kikit> not ok 42 Printed stencils
    kikit> # (in test file /build/source/test/system/stencil.bats, line 14)
    kikit> #   `kikit stencil createprinted \' failed
    kikit> # 04:32:17: Error: Directory '/homeless-shelter' couldn't be created (error 13: Permission denied)
    kikit> # An error occurred: OpenSCAD is not available.
    kikit> # Did you install it? Program `openscad` has to be in PATH
    kikit> # No output files produced
    kikit> make: *** [Makefile:40: test-system] Error 1
    kikit> /nix/store/3qnm3nwjajgqa771dmi2dnwxrw0kzq5m-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
    error: builder for '/nix/store/f3klmz0qvi6yr3qfy7cww434f2z4kjx5-kikit-1.5.0.drv' failed with exit code 2;

This is failing in some pretty old kikit code, so I think this is just
failing due to kikit now having more complete code coverage. While
researching this, I discovered kikit's documentation about [optional
dependencies], which I suppose we don't have good support for right now.
Rather than invent a new option for that, I've opted to preserve the
existing behavior and just do the bare minimum to keep the build
passing.

[optional dependencies]: https://github.com/yaqwsx/KiKit/blob/v1.5.0/docs/installation/intro.md#optional-dependencies
2024-03-09 20:12:45 -08:00
Fabian Affolter
13d86d1c06
Merge pull request #282429 from fabaff/killerbee
killerbee: init at 3.0.0-beta.2
2024-02-19 23:55:37 +01:00
Peder Bergebakken Sundt
68dd75315c treewide: add system to "Unsupported system" throws 2024-02-11 00:03:49 +01:00
R. Ryantm
5fd1717391 kikit: 1.3.0 -> 1.4.0 2024-01-21 05:17:06 +00:00