treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn2, gmp, libiconv, libunistring, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lftp-${version}";
|
||||
pname = "lftp";
|
||||
version = "4.8.4";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"https://lftp.tech/ftp/${name}.tar.xz"
|
||||
"https://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/${name}.tar.xz"
|
||||
"https://lftp.yar.ru/ftp/${name}.tar.xz"
|
||||
"https://lftp.tech/ftp/${pname}-${version}.tar.xz"
|
||||
"https://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/${pname}-${version}.tar.xz"
|
||||
"https://lftp.yar.ru/ftp/${pname}-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "0qks22357xv9y6ripmf5j2n5svh8j5z0yniphfk89sjwkqg2gg2f";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user