Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 28 lines 689 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "ratools"; 5 version = "0.6.2"; 6 7 src = fetchFromGitHub { 8 owner = "danrl"; 9 repo = "ratools"; 10 rev = "v${version}"; 11 sha256 = "07m45bn9lzgbfihmxic23wqp73nxg5ihrvkigr450jq6gzvgwawq"; 12 }; 13 14 makeFlags = [ "-C" "src" ]; 15 16 installPhase = '' 17 install -vD bin/* -t $out/bin 18 install -vD man/* -t $out/share/man/man8 19 ''; 20 21 meta = with lib; { 22 description = "A fast, dynamic, multi-threading framework for IPv6 Router Advertisements"; 23 homepage = "https://github.com/danrl/ratools"; 24 license = licenses.asl20; 25 platforms = platforms.linux; 26 maintainers = [ maintainers.fpletz ]; 27 }; 28}