buildRustPackage: Allow pname attribute

This commit is contained in:
Mario Rodas 2019-03-01 21:45:12 -05:00
parent 81e8f11da7
commit 435b326722
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

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 ? []