Merge pull request #56634 from marsam/buildrustcreate-pname-attribute

buildRustPackage: Allow pname attribute
This commit is contained in:
Jörg Thalheim 2019-03-11 10:08:00 +00:00 committed by GitHub
commit cd498f7c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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