atftp: transformed meta.maintainers into a list and fixed indentation

This commit is contained in:
Pascal Wittmann 2014-09-13 17:39:40 +02:00
parent 1e85156b29
commit 4c4d4c78e9

View File

@ -4,31 +4,31 @@ assert stdenv.gcc.gcc != null;
let let
version = "0.7"; version = "0.7";
debianPatch = fetchurl { debianPatch = fetchurl {
url = "mirror://debian/pool/main/a/atftp/atftp_${version}.dfsg-11.diff.gz"; url = "mirror://debian/pool/main/a/atftp/atftp_${version}.dfsg-11.diff.gz";
sha256 = "07g4qbmp0lnscg2dkj6nsj657jaghibvfysdm1cdxcn215n3zwqd"; sha256 = "07g4qbmp0lnscg2dkj6nsj657jaghibvfysdm1cdxcn215n3zwqd";
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "atftp"; name = "atftp";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/a/atftp/atftp_${version}.dfsg.orig.tar.gz"; url = "mirror://debian/pool/main/a/atftp/atftp_${version}.dfsg.orig.tar.gz";
sha256 = "0nd5dl14d6z5abgcbxcn41rfn3syza6s57bbgh4aq3r9cxdmz08q"; sha256 = "0nd5dl14d6z5abgcbxcn41rfn3syza6s57bbgh4aq3r9cxdmz08q";
}; };
buildInputs = [ readline tcp_wrappers pcre makeWrapper ]; buildInputs = [ readline tcp_wrappers pcre makeWrapper ];
patches = [ debianPatch ]; patches = [ debianPatch ];
postInstall = '' postInstall = ''
wrapProgram $out/sbin/atftpd --prefix LD_LIBRARY_PATH : ${stdenv.gcc.gcc}/lib${if stdenv.system == "x86_64-linux" then "64" else ""} wrapProgram $out/sbin/atftpd --prefix LD_LIBRARY_PATH : ${stdenv.gcc.gcc}/lib${if stdenv.system == "x86_64-linux" then "64" else ""}
''; '';
meta = { meta = {
description = "Advanced tftp tools"; description = "Advanced tftp tools";
maintainers = lib.maintainers.raskin; maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
passthru = { passthru = {
updateInfo = { updateInfo = {
downloadPage = "http://packages.debian.org/source/wheezy/atftp"; downloadPage = "http://packages.debian.org/source/wheezy/atftp";
}; };
}; };
}; };
} }