diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-01-25 06:01:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 06:01:04 +0000 |
commit | 5af80acc9abf4dac84f33ab4eebe2374f25659c8 (patch) | |
tree | da80f9bbb73fae4ae567d35392a730405f407231 /pkgs/development | |
parent | a4b5a14b07c5a3f90bc868ee26a0a685b3f7f893 (diff) | |
parent | 06570e54184cb7f3aecb16c7c5ef82a871ce5873 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/development')
5 files changed, 31 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/sudachidict/default.nix b/pkgs/development/python-modules/sudachidict/default.nix index 72826908612c7..41a359110474f 100644 --- a/pkgs/development/python-modules/sudachidict/default.nix +++ b/pkgs/development/python-modules/sudachidict/default.nix @@ -2,6 +2,7 @@ , fetchFromGitHub , sudachidict , setuptools +, sudachipy }: buildPythonPackage rec { @@ -33,6 +34,10 @@ buildPythonPackage rec { setuptools ]; + propagatedBuildInputs = [ + sudachipy + ]; + # we need to prepare some files before the build # https://github.com/WorksApplications/SudachiDict/blob/develop/package_python.sh preBuild = '' diff --git a/pkgs/development/python-modules/sudachipy/default.nix b/pkgs/development/python-modules/sudachipy/default.nix index bfaf9be85846b..3e3bd5b4adf65 100644 --- a/pkgs/development/python-modules/sudachipy/default.nix +++ b/pkgs/development/python-modules/sudachipy/default.nix @@ -10,6 +10,7 @@ , pytestCheckHook , sudachidict-core , tokenizers +, sudachipy }: buildPythonPackage rec { @@ -19,7 +20,7 @@ buildPythonPackage rec { cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-Am+ae2lgnndSDzf0GF8R1i6OPLdIlm2dLThqYqXbscA="; + hash = "sha256-ARwvThfATDdzBTjPFr9yjbE/0eYvp/TCZOEGbUupJmU="; }; nativeBuildInputs = [ @@ -37,6 +38,9 @@ buildPythonPackage rec { cd python ''; + # avoid infinite recursion due to sudachidict + doCheck = false; + nativeCheckInputs = [ pytestCheckHook sudachidict-core @@ -47,6 +51,20 @@ buildPythonPackage rec { "sudachipy" ]; + passthru = { + inherit (sudachi-rs) updateScript; + tests = { + pytest = sudachipy.overridePythonAttrs ( + _: { + doCheck = true; + # avoid catchConflicts of sudachipy + # we don't need to install this package since it is just a test + dontInstall = true; + } + ); + }; + }; + meta = sudachi-rs.meta // { homepage = "https://github.com/WorksApplications/sudachi.rs/tree/develop/python"; mainProgram = "sudachipy"; diff --git a/pkgs/development/tools/kdash/default.nix b/pkgs/development/tools/kdash/default.nix index 7e529337e5d92..c7f4e8b7525f3 100644 --- a/pkgs/development/tools/kdash/default.nix +++ b/pkgs/development/tools/kdash/default.nix @@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec { pname = "kdash"; - version = "0.4.7"; + version = "0.5.0"; src = fetchFromGitHub { owner = "kdash-rs"; repo = pname; rev = "v${version}"; - sha256 = "sha256-KQ1SLnXtox/bIV32guEfC2LSt8LDWGSG5b9i0gqS2Yc="; + sha256 = "sha256-Vk0Pf5uF9AANv/vf32ZrICJJTp6QRsR/nFW40xnkImo="; }; nativeBuildInputs = [ perl python3 pkg-config ]; @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl xorg.xcbutil ] ++ lib.optional stdenv.isDarwin AppKit; - cargoHash = "sha256-bgS93o654xDVz2OMFy1mwxCKQESV8MPZ4Mjb0IdypLU="; + cargoHash = "sha256-gY4ywjTokEc5Uv4InARH2s3WYiPGYSDDWk2kltyQa+0="; meta = with lib; { description = "A simple and fast dashboard for Kubernetes"; diff --git a/pkgs/development/tools/rust/cargo-deny/default.nix b/pkgs/development/tools/rust/cargo-deny/default.nix index 6dd9eb5896316..5c0d0f7ddf396 100644 --- a/pkgs/development/tools/rust/cargo-deny/default.nix +++ b/pkgs/development/tools/rust/cargo-deny/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { zstd ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security + darwin.apple_sdk.frameworks.SystemConfiguration ]; env = { diff --git a/pkgs/development/tools/rust/cargo-show-asm/default.nix b/pkgs/development/tools/rust/cargo-show-asm/default.nix index 903022c6f8769..139ea6c7f0682 100644 --- a/pkgs/development/tools/rust/cargo-show-asm/default.nix +++ b/pkgs/development/tools/rust/cargo-show-asm/default.nix @@ -9,14 +9,14 @@ rustPlatform.buildRustPackage rec { pname = "cargo-show-asm"; - version = "0.2.28"; + version = "0.2.29"; src = fetchCrate { inherit pname version; - hash = "sha256-DZKl3FRgBzrgKDl/eVOFRW2jZXT8ul+ZgZbBxZcmgss="; + hash = "sha256-9Q+BnzgoD95eKkMZrQF6+khbx5wqnER83PK3vbRrRv8="; }; - cargoHash = "sha256-QaRqrd4wHuMfAYy/vqkwdoWB1BDGx0YyjvFNqjSOM2I="; + cargoHash = "sha256-cyFAilqpaO6TDtJUmweUHYEpWxUAhHDYgCUGSz5EBFU="; nativeBuildInputs = [ installShellFiles |