mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-05 02:16:07 +03:00
add support for cargoDeps
This commit is contained in:
parent
77de91a52d
commit
e8629b612e
@ -11,7 +11,7 @@ designed to work with nixpkgs but also other package sets.
|
||||
- gitlab.com or other instances that uses fetchFromGitLab
|
||||
- pypi
|
||||
- rubygems.org
|
||||
- update buildRustPackage's cargoHash/cargoSha256
|
||||
- update buildRustPackage's cargoHash/cargoSha256 and cargoSetupHook's cargoDeps
|
||||
- update buildGoModule's vendorHash/vendorSha256
|
||||
- update buildNpmPackage's npmDepsHash
|
||||
- build and run the resulting package (see `--build`,
|
||||
|
@ -71,7 +71,7 @@ def eval_expression(import_path: str, attr: str) -> str:
|
||||
hash = pkg.src.outputHash or null;
|
||||
vendor_hash = pkg.vendorHash or null;
|
||||
vendor_sha256 = pkg.vendorSha256 or null;
|
||||
cargo_deps = pkg.cargoHash or pkg.cargoSha256 or null;
|
||||
cargo_deps = (pkg.cargoDeps or null).outputHash or null;
|
||||
npm_deps = pkg.npmDepsHash or null;
|
||||
tests = builtins.attrNames (pkg.passthru.tests or {{}});
|
||||
changelog = pkg.meta.changelog or null;
|
||||
|
Loading…
Reference in New Issue
Block a user