Unverified Commit 688122cd authored by Tristan Ross's avatar Tristan Ross Committed by GitHub
Browse files

netcat-gnu: use final attrs and no "with" (#405127)

parents f90730e8 62e0d013
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -4,21 +4,21 @@
  fetchurl,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "netcat-gnu";
  version = "0.7.1";

  src = fetchurl {
    url = "mirror://sourceforge/netcat/netcat-${version}.tar.bz2";
    sha256 = "1frjcdkhkpzk0f84hx6hmw5l0ynpmji8vcbaxg8h5k2svyxz0nmm";
    url = "mirror://sourceforge/netcat/netcat-${finalAttrs.version}.tar.bz2";
    hash = "sha256:1frjcdkhkpzk0f84hx6hmw5l0ynpmji8vcbaxg8h5k2svyxz0nmm";
  };

  meta = with lib; {
  meta = {
    description = "Utility which reads and writes data across network connections";
    homepage = "https://netcat.sourceforge.net/";
    mainProgram = "netcat";
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ RossComputerGuy ];
  };
}
})