fetchCrate: expose pname and version in passthru
This commit is contained in:
@@ -21,6 +21,8 @@ assert pname == null || pname == crateName;
|
||||
{
|
||||
name = "${crateName}-${version}.tar.gz";
|
||||
url = "${registryDl}/${crateName}/${version}/download";
|
||||
|
||||
passthru = { inherit pname version; };
|
||||
}
|
||||
// lib.optionalAttrs unpack {
|
||||
extension = "tar.gz";
|
||||
|
||||
Reference in New Issue
Block a user