mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
30 lines
866 B
Nix
30 lines
866 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, systemd, pkg-config }:
|
||
|
||
stdenv.mkDerivation {
|
||
version = "1.06";
|
||
pname = "ndjbdns";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "pjps";
|
||
repo = "ndjbdns";
|
||
rev = "64d371b6f887621de7bf8bd495be10442b2accd0";
|
||
sha256 = "0gjyvn8r66kp49gasd6sqfvg2pj0c6v67hnq7cqwl04kj69rfy86";
|
||
};
|
||
|
||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||
buildInputs = [ ]
|
||
++ lib.optional stdenv.hostPlatform.isLinux systemd;
|
||
|
||
meta = with lib; {
|
||
description = "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.
|
||
'';
|
||
homepage = "http://pjp.dgplug.org/ndjbdns/";
|
||
license = licenses.gpl2Plus;
|
||
maintainers = [ ];
|
||
platforms = platforms.linux ++ platforms.darwin;
|
||
};
|
||
|
||
}
|