so: init at 0.4.2

This commit is contained in:
Massimo Redaelli 2020-08-28 14:56:32 +02:00 committed by Daniël de Kok
parent b12ca077c0
commit 3bce24295b
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, rustPlatform, fetchFromGitHub, openssl, pkg-config, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "so";
version = "0.4.2";
src = fetchFromGitHub {
owner = "samtay";
repo = pname;
rev = "v${version}";
sha256 = "09zswxxli9f5ayjwmvqhkp1yv2s4f435dcfp4cyia1zddbrh2zck";
};
cargoSha256 = "1ddbhy1plag4ckbmlyj47wnky7vgmfa68msl3hl25h1lwmzaf1aq";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [
libiconv Security
];
meta = with stdenv.lib; {
description = "A TUI interface to the StackExchange network";
homepage = "https://github.com/samtay/so";
license = licenses.mit;
maintainers = with maintainers; [ mredaelli ];
};
}

View file

@ -6992,6 +6992,10 @@ in
snort = callPackage ../applications/networking/ids/snort { };
so = callPackage ../development/tools/so {
inherit (darwin.apple_sdk.frameworks) Security;
};
soapui = callPackage ../applications/networking/soapui { };
sshguard = callPackage ../tools/security/sshguard {};