buildRustPackage: Allow pname attribute

This commit is contained in:
Mario Rodas
2019-03-01 21:45:12 -05:00
parent 81e8f11da7
commit 435b326722

View File

@@ -1,6 +1,7 @@
{ stdenv, cacert, git, cargo, rustc, cargo-vendor, fetchcargo, python3 }:
{ name, cargoSha256 ? "unset"
{ name ? "${args.pname}-${args.version}"
, cargoSha256 ? "unset"
, src ? null
, srcs ? null
, cargoPatches ? []