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

29 lines
689 B
Nix
Raw Normal View History

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