diff options
author | D3vil0p3r <vozaanthony@gmail.com> | 2024-02-11 18:53:37 +0100 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-05-22 11:31:25 +0000 |
commit | 242a6c8f1a7fd4bac8aef1e95648040e02dcaece (patch) | |
tree | d3bb8920471b5c410bfc6c27789415d68aea42d6 /pkgs | |
parent | 0b983a3fb219d173346a6f4de0cd4afe7aad3ad4 (diff) |
dbd: init at 1.50-unstable-2016-01-04
(cherry picked from commit 001ed29519b178e4c0b8add95998eede4bc46492)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/db/dbd/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/db/dbd/package.nix b/pkgs/by-name/db/dbd/package.nix new file mode 100644 index 0000000000000..20658b4d716db --- /dev/null +++ b/pkgs/by-name/db/dbd/package.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation { + pname = "dbd"; + version = "1.50-unstable-2016-01-04"; + + src = fetchFromGitHub { + owner = "gitdurandal"; + repo = "dbd"; + rev = "8cf5350781b6753fcdd863148a5dcc6976e693ca"; + hash = "sha256-b2yBZ2/Ab+SviKNlyZgdfiZ7GGZ1sonZnblD0i+vuFw="; + }; + + makeFlags = [ + "PREFIX=${placeholder "out"}" + "CC=${stdenv.cc.targetPrefix}cc" + ] ++ lib.optionals stdenv.isDarwin [ "darwin" ] ++ lib.optionals (stdenv.hostPlatform.isUnix && !stdenv.isDarwin) [ "unix" ]; + + meta = with lib; { + description = "Netcat-clone, designed to be portable and offer strong encryption"; + mainProgram = "dbd"; + homepage = "https://github.com/gitdurandal/dbd"; + maintainers = with maintainers; [ d3vil0p3r ]; + platforms = platforms.unix; + license = licenses.gpl2Plus; + }; +} |