mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
687 B
Nix
29 lines
687 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 = "Fast, dynamic, multi-threading framework for IPv6 Router Advertisements";
|
|
homepage = "https://github.com/danrl/ratools";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.fpletz ];
|
|
};
|
|
}
|