nixpkgs-suyu/pkgs/tools/networking/tftp-hpa/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

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

to pname
2019-08-15 13:41:18 +01:00

24 lines
669 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "tftp-hpa";
version="5.2";
src = fetchurl {
url = "mirror://kernel/software/network/tftp/tftp-hpa/${pname}-${version}.tar.xz";
sha256 = "12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg";
};
meta = with stdenv.lib; {
description = "TFTP tools - a lot of fixes on top of BSD TFTP";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
license = licenses.bsd3;
homepage = https://www.kernel.org/pub/software/network/tftp/;
};
passthru = {
updateInfo = {
downloadPage = "https://www.kernel.org/pub/software/network/tftp/";
};
};
}