2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2016-02-25 15:48:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "-C" "src" ];
|
2016-02-25 15:48:55 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2017-08-11 10:40:08 +01:00
|
|
|
install -vD bin/* -t $out/bin
|
|
|
|
install -vD man/* -t $out/share/man/man8
|
2016-02-25 15:48:55 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "A fast, dynamic, multi-threading framework for IPv6 Router Advertisements";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/danrl/ratools";
|
2016-02-25 15:48:55 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.fpletz ];
|
|
|
|
};
|
|
|
|
}
|