nixpkgs/doc/languages-frameworks
Daniël de Kok d92396039d buildRustPackage: add cargoDepsName attribute
The directory in the tarball of vendored dependencies contains `name`,
which is by default set to `${pname}-${version}`. This adds an
additional attribute to permit setting the name to something of the
user's choosing.

Since `cargoSha256`/`cargoHash` depend on the name of the directory of
vendored dependencies, `cargoDepsName` can be used to e.g. make the
hash invariant to the package version by setting `cargoDepsName =
pname`.
2021-02-15 07:06:31 +01:00
..
2020-11-28 07:32:10 +01:00
2020-12-07 23:49:36 +01:00
2020-11-28 15:29:04 +01:00
2021-01-11 09:52:27 +01:00