2016-07-29 11:55:35 +01:00
|
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, systemd, pkgconfig }:
|
|
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2014-03-29 16:47:23 +00:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-16 20:53:15 +01:00
|
|
|
|
version = "1.06";
|
2014-03-29 16:47:23 +00:00
|
|
|
|
name = "ndjbdns-${version}";
|
2016-07-16 20:53:15 +01:00
|
|
|
|
|
2016-07-29 11:55:35 +01:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "pjps";
|
|
|
|
|
repo = "ndjbdns";
|
|
|
|
|
rev = "64d371b6f887621de7bf8bd495be10442b2accd0";
|
|
|
|
|
sha256 = "0gjyvn8r66kp49gasd6sqfvg2pj0c6v67hnq7cqwl04kj69rfy86";
|
2014-03-29 16:47:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
buildInputs = [ ]
|
2016-07-29 11:55:35 +01:00
|
|
|
|
++ optional stdenv.isLinux systemd;
|
2014-03-29 16:47:23 +00:00
|
|
|
|
|
2016-07-29 11:55:35 +01: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 11:55:35 +01:00
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-03-29 16:47:23 +00:00
|
|
|
|
};
|
|
|
|
|
|
2016-07-16 20:53:15 +01:00
|
|
|
|
}
|