epson-escpr2: added mirror url for src
+ added webarchive source for reliable builds in the future + removed `${version}` from url, as it actually adds more hassle to have it in there and no benefits whatsoever, since the url keeps changing other parts too
This commit is contained in:
parent
bbb71bfd76
commit
4db74946ac
1 changed files with 9 additions and 4 deletions
|
@ -5,10 +5,15 @@ stdenv.mkDerivation rec {
|
|||
version = "1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
# To find new versions, visit http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
|
||||
# and search for some printer like for instance "WF-7210" to get to the most recent version.
|
||||
# NOTE: keep in mind that many parts of the URL change and not just version.
|
||||
url = "https://download3.ebz.epson.net/dsc/f/03/00/09/72/04/c6d928e83e558c4ba1e7e8bcb5c1fe080b8095eb/${pname}-${version}-1lsb3.2.src.rpm";
|
||||
# To find new versions, visit
|
||||
# http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX and search for
|
||||
# some printer like for instance "WF-7210" to get to the most recent
|
||||
# version.
|
||||
# NOTE: Don't forget to update the webarchive link too!
|
||||
urls = [
|
||||
"https://download3.ebz.epson.net/dsc/f/03/00/09/72/04/c6d928e83e558c4ba1e7e8bcb5c1fe080b8095eb/epson-inkjet-printer-escpr2-1.1.1-1lsb3.2.src.rpm"
|
||||
"https://web.archive.org/web/https://download3.ebz.epson.net/dsc/f/03/00/09/72/04/c6d928e83e558c4ba1e7e8bcb5c1fe080b8095eb/epson-inkjet-printer-escpr2-1.1.1-1lsb3.2.src.rpm"
|
||||
];
|
||||
sha256 = "02vdlhvinsx6vsjq172b2c1vrfzkg0w9j5lbsnjvj6yq3yqz5b5q";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue