Skip to content

Commit

Permalink
sudachi-rs: 0.6.9 -> 0.6.10 (#372682)
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium authored Jan 11, 2025
2 parents 435133a + e202cfb commit cef47c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkgs/by-name/su/sudachi-rs/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@

rustPlatform.buildRustPackage rec {
pname = "sudachi-rs";
version = "0.6.9";
version = "0.6.10";

src = fetchFromGitHub {
owner = "WorksApplications";
repo = "sudachi.rs";
tag = "v${version}";
hash = "sha256-G+lJzOYxrR/Le2lgfZMXbbjCqPYmCKMy1pIomTP5NIg=";
hash = "sha256-2sJ9diE/EjrQmFcCc4VluE4Gu4RebTYitd7zzfgj3g4=";
};

postPatch = ''
substituteInPlace sudachi/src/config.rs \
--replace '"resources"' '"${placeholder "out"}/share/resources"'
'';

cargoHash = "sha256-iECIk5+QvTP1xiH9AcEJGKt1YHG8KASYmsuIq0vHD20=";
cargoHash = "sha256-fFvuxLOerqdjYogfTH3JiSlNPw2t7QT09lxp7prIpA8=";

# prepare the resources before the build so that the binary can find sudachidict
preBuild = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/sudachipy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildPythonPackage rec {
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-vYn1dWu87ruEGT/9QVIvxY21LzesVyq1VPaLcTrDKvY=";
hash = "sha256-VuwDZaPtAgyMQGQ2eYyLAlXB8M8ZwGD5J/Nv+yysfiU=";
};

nativeBuildInputs = [
Expand Down

0 comments on commit cef47c7

Please sign in to comment.