treewide: name -> pname (easy cases) (#66585)

treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
This commit is contained in:
volth
2019-08-15 13:41:18 +01:00
committed by Jörg Thalheim
parent cff9e6429a
commit 46420bbaa3
4616 changed files with 5674 additions and 6081 deletions
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, unzip, ruby, openssl, makeWrapper }:
stdenv.mkDerivation rec {
name = "ec2-ami-tools-${version}";
pname = "ec2-ami-tools";
version = "1.5.7";
buildInputs = [ unzip makeWrapper ];
src = fetchurl {
url = "https://s3.amazonaws.com/ec2-downloads/${name}.zip";
url = "https://s3.amazonaws.com/ec2-downloads/${pname}-${version}.zip";
sha256 = "17xj7xmdbcwdbzalhfs6yyiwa64978mk3li39l949qfjjgrxjias";
};