username-anarchy: init at 0.5
Add license MIT
This commit is contained in:
parent
8a0c6be458
commit
b7954b47d1
35
pkgs/by-name/us/username-anarchy/package.nix
Normal file
35
pkgs/by-name/us/username-anarchy/package.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
ruby,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "username-anarchy";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "d5e653f0ab31d8d3fff79b2986f6ef9624d80fba";
|
||||
owner = "urbanadventurer";
|
||||
repo = "username-anarchy";
|
||||
hash = "sha256-1he1FzNc6y7jm/UwedG81z5QGehh2qsd1QkAsIXwrag=";
|
||||
};
|
||||
|
||||
buildInputs = [ ruby ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
install -Dm 555 format-plugins.rb $out/bin/
|
||||
install -Dm 555 username-anarchy $out/bin/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/urbanadventurer/username-anarchy/";
|
||||
description = "Username generator tool for penetration testing";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.akechishiro ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "username-anarchy";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user