mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
netcat-gnu: use final attrs and no "with"
This commit is contained in:
parent
6814b2f572
commit
62e0d0135f
1 changed files with 7 additions and 7 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue