mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
scallion: init at 2.1 (#38817)
This commit is contained in:
parent
eeb27ae6ab
commit
ecf8095e91
36
pkgs/tools/security/scallion/default.nix
Normal file
36
pkgs/tools/security/scallion/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, mono, openssl, ocl-icd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.1";
|
||||
name = "scallion-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lachesis";
|
||||
repo = "scallion";
|
||||
rev = "v${version}";
|
||||
sha256 = "1l9aj101xpsaaa6kmmhmq68m6z8gzli1iaaf8xaxbivq0i7vka9k";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ mono ];
|
||||
|
||||
buildPhase = ''
|
||||
xbuild scallion.sln
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share
|
||||
cp scallion/bin/Debug/* $out/share/
|
||||
makeWrapper ${mono}/bin/mono $out/bin/scallion \
|
||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ openssl ocl-icd ]} \
|
||||
--add-flags $out/share/scallion.exe
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GPU-based tor hidden service name generator";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ volth ];
|
||||
};
|
||||
}
|
@ -4733,6 +4733,8 @@ with pkgs;
|
||||
|
||||
sasview = callPackage ../applications/science/misc/sasview {};
|
||||
|
||||
scallion = callPackage ../tools/security/scallion { };
|
||||
|
||||
scanbd = callPackage ../tools/graphics/scanbd { };
|
||||
|
||||
screen = callPackage ../tools/misc/screen {
|
||||
|
Loading…
Reference in New Issue
Block a user