2016-07-29 10:55:35 +00:00
|
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, systemd, pkgconfig }:
|
|
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2014-03-29 16:47:23 +00:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-16 19:53:15 +00:00
|
|
|
|
version = "1.06";
|
2014-03-29 16:47:23 +00:00
|
|
|
|
name = "ndjbdns-${version}";
|
2016-07-16 19:53:15 +00:00
|
|
|
|
|
2016-07-29 10:55:35 +00:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "pjps";
|
|
|
|
|
repo = "ndjbdns";
|
|
|
|
|
rev = "64d371b6f887621de7bf8bd495be10442b2accd0";
|
|
|
|
|
sha256 = "0gjyvn8r66kp49gasd6sqfvg2pj0c6v67hnq7cqwl04kj69rfy86";
|
2014-03-29 16:47:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
buildInputs = [ ]
|
2016-07-29 10:55:35 +00:00
|
|
|
|
++ optional stdenv.isLinux systemd;
|
2014-03-29 16:47:23 +00:00
|
|
|
|
|
2016-07-29 10:55:35 +00:00
|
|
|
|
meta = {
|
2014-11-11 13:20:43 +00:00
|
|
|
|
description = "A brand new release of the Djbdns";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
Djbdns is a fully‐fledged Domain Name System(DNS), originally written by the eminent author of qmail, Dr. D J Bernstein.
|
|
|
|
|
'';
|
2014-03-29 16:47:23 +00:00
|
|
|
|
homepage = http://pjp.dgplug.org/ndjbdns/;
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
|
maintainers = [ maintainers.msackman ];
|
2016-07-29 10:55:35 +00:00
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-03-29 16:47:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
2016-07-16 19:53:15 +00:00
|
|
|
|
}
|