diff --git a/pkgs/tools/networking/sniffglue/default.nix b/pkgs/by-name/sn/sniffglue/package.nix similarity index 88% rename from pkgs/tools/networking/sniffglue/default.nix rename to pkgs/by-name/sn/sniffglue/package.nix index a17ecad26066..eb7cff5b7a8e 100644 --- a/pkgs/tools/networking/sniffglue/default.nix +++ b/pkgs/by-name/sn/sniffglue/package.nix @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { owner = "kpcyrd"; repo = pname; rev = "v${version}"; - sha256 = "sha256-MOw0WBdpo6dYXsjbUrqoIJl/sjQ4wSAcm4dPxDgTYgY="; + hash = "sha256-MOw0WBdpo6dYXsjbUrqoIJl/sjQ4wSAcm4dPxDgTYgY="; }; cargoHash = "sha256-vnfviiXJ4L/j5M3N+LegOIvLuD6vYJB1QeBgZJVfDnI="; @@ -34,5 +34,6 @@ rustPlatform.buildRustPackage rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ xrelkd ]; platforms = platforms.linux ++ platforms.darwin; + mainProgram = "sniffglue"; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index afdc8ec9e00d..929c8a1108b7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13320,8 +13320,6 @@ with pkgs; snmpcheck = callPackage ../tools/networking/snmpcheck { }; - sniffglue = callPackage ../tools/networking/sniffglue { }; - snobol4 = callPackage ../development/interpreters/snobol4 { }; snort = callPackage ../applications/networking/ids/snort { };