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

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