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