mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
Merge pull request #288104 from D3vil0p3r/patch-16
dbd: init at 1.50-unstable-2016-01-04
This commit is contained in:
commit
6f11a994b4
30
pkgs/by-name/db/dbd/package.nix
Normal file
30
pkgs/by-name/db/dbd/package.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user