dq: init at 20230101
This commit is contained in:
parent
584f1323d9
commit
4bf6287811
2 changed files with 35 additions and 0 deletions
33
pkgs/tools/networking/dq/default.nix
Normal file
33
pkgs/tools/networking/dq/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "dq";
|
||||||
|
version = "20230101";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "janmojzis";
|
||||||
|
repo = "dq";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-K96yOonOYSsz26Bf/vx9XtWs7xyY0Dpxdd55OMbQz8k=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 dq dqcache dqcache-makekey dqcache-start -t $out/bin
|
||||||
|
installManPage man/*
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Recursive DNS/DNSCurve server and comandline tool";
|
||||||
|
homepage = "https://github.com/janmojzis/dq";
|
||||||
|
changelog = "https://github.com/janmojzis/dq/releases/tag/${version}";
|
||||||
|
license = licenses.cc0;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ sikmir ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7206,6 +7206,8 @@ with pkgs;
|
||||||
|
|
||||||
doggo = callPackage ../tools/networking/doggo { };
|
doggo = callPackage ../tools/networking/doggo { };
|
||||||
|
|
||||||
|
dq = callPackage ../tools/networking/dq { };
|
||||||
|
|
||||||
dool = callPackage ../tools/system/dool { };
|
dool = callPackage ../tools/system/dool { };
|
||||||
|
|
||||||
dosfstools = callPackage ../tools/filesystems/dosfstools { };
|
dosfstools = callPackage ../tools/filesystems/dosfstools { };
|
||||||
|
|
Loading…
Reference in a new issue