pythonPackages.py2to3: fix pname

Applying parseDrvName results in incorrect name and version otherwise.
https://github.com/NixOS/nixos-homepage/issues/306#issuecomment-531187598
This commit is contained in:
Frederik Rietdijk 2020-03-29 09:41:09 +02:00 committed by Frederik Rietdijk
parent 30dc230997
commit 036abcf58d

View File

@ -5,11 +5,12 @@
}:
buildPythonPackage rec {
pname = "3to2";
pname = "py3to2";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
inherit version;
pname = "3to2";
extension = "zip";
sha256 = "fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c";
};