perlPackages.DeviceSerialPort: name -> pname

This commit is contained in:
Peter Hoeg 2019-08-26 15:45:56 +08:00
parent 8a5751ef7e
commit 3d67ac24c3

View File

@ -14994,9 +14994,10 @@ let
};
DeviceSerialPort = buildPerlPackage rec {
name = "Device-SerialPort-1.04";
pname = "Device-SerialPort";
version = "1.04";
src = fetchurl {
url = "mirror://cpan/authors/id/C/CO/COOK/${name}.tar.gz";
url = "mirror://cpan/authors/id/C/CO/COOK/${pname}-${version}.tar.gz";
sha256 = "1mz9a2qzkz6fbz76wcwmp48h6ckjxpcazb70q03acklvndy5d4nk";
};
meta = with stdenv.lib; {