mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
massdns: init at version 1.1.0
This commit is contained in:
parent
f923ab1ecf
commit
9fbb1ba0c0
36
pkgs/by-name/ma/massdns/package.nix
Normal file
36
pkgs/by-name/ma/massdns/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "massdns";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blechschmidt";
|
||||
repo = "massdns";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-hrnAg5ErPt93RV4zobRGVtcKt4aM2tC52r08T7+vRGc=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"PROJECT_FLAGS=-DMASSDNS_REVISION='\"v${version}\"'"
|
||||
];
|
||||
buildFlags = if stdenv.isLinux then "all" else "nolinux";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Resolve large amounts of domain names";
|
||||
homepage = "https://github.com/blechschmidt/massdns";
|
||||
changelog = "https://github.com/blechschmidt/massdns/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ geoffreyfrogeye ];
|
||||
mainProgram = "massdns";
|
||||
platforms = platforms.all;
|
||||
# error: use of undeclared identifier 'MSG_NOSIGNAL'
|
||||
badPlatforms = platforms.darwin;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user