Fix the name metadata as well

It was already computed for the derivation we're going to override.  It won't
be recomputed again as a result of `overrideAttrs` so we recompute it and
include it in the override.
This commit is contained in:
Jean-Paul Calderone 2023-06-13 10:33:54 -04:00
parent 608fbce9f9
commit 8421d406e9

View File

@ -2,6 +2,7 @@
pyopenssl.overrideAttrs (old: rec {
pname = "pyOpenSSL";
version = "23.2.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "J2+TH1WkUufeppxxc+mE6ypEB85BPJGKo0tV+C+bi6w=";