nixpkgs/pkgs/tools/networking/ndjbdns/default.nix

32 lines
881 B
Nix
Raw Normal View History

{ 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
src = fetchFromGitHub {
owner = "pjps";
repo = "ndjbdns";
rev = "64d371b6f887621de7bf8bd495be10442b2accd0";
sha256 = "0gjyvn8r66kp49gasd6sqfvg2pj0c6v67hnq7cqwl04kj69rfy86";
2014-03-29 16:47:23 +00:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ]
++ optional stdenv.isLinux systemd;
2014-03-29 16:47:23 +00:00
meta = {
2014-11-11 13:20:43 +00:00
description = "A brand new release of the Djbdns";
longDescription = ''
Djbdns is a fullyfledged 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 ];
platforms = platforms.linux ++ platforms.darwin;
2014-03-29 16:47:23 +00:00
};
2016-07-16 20:53:15 +01:00
}