depot/third_party/nixpkgs/pkgs/tools/networking/ratools/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

28 lines
689 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ratools";
version = "0.6.2";
src = fetchFromGitHub {
owner = "danrl";
repo = "ratools";
rev = "v${version}";
sha256 = "07m45bn9lzgbfihmxic23wqp73nxg5ihrvkigr450jq6gzvgwawq";
};
makeFlags = [ "-C" "src" ];
installPhase = ''
install -vD bin/* -t $out/bin
install -vD man/* -t $out/share/man/man8
'';
meta = with lib; {
description = "A fast, dynamic, multi-threading framework for IPv6 Router Advertisements";
homepage = "https://github.com/danrl/ratools";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.fpletz ];
};
}