lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 40 lines 1.1 kB view raw
1{ lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 3buildGoModule rec { 4 pname = "corerad"; 5 version = "0.3.4"; 6 7 src = fetchFromGitHub { 8 owner = "mdlayher"; 9 repo = "corerad"; 10 rev = "v${version}"; 11 sha256 = "0sf2r4q57hwdakv0b4skn76b0xy7bwj2j9rpj6frs5fkk6gsi6sm"; 12 }; 13 14 vendorSha256 = "123f9y1pfayfd5amkw5b8jzi8dbn7a16kbf7lzbmw69c1gj4gx9z"; 15 16 doCheck = false; 17 18 # Since the tarball pulled from GitHub doesn't contain git tag information, 19 # we fetch the expected tag's timestamp from a file in the root of the 20 # repository. 21 preBuild = '' 22 buildFlagsArray=( 23 -ldflags=" 24 -X github.com/mdlayher/corerad/internal/build.linkTimestamp=$(<.gittagtime) 25 -X github.com/mdlayher/corerad/internal/build.linkVersion=v${version} 26 " 27 ) 28 ''; 29 30 passthru.tests = { 31 inherit (nixosTests) corerad; 32 }; 33 34 meta = with lib; { 35 homepage = "https://github.com/mdlayher/corerad"; 36 description = "Extensible and observable IPv6 NDP RA daemon"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ mdlayher ]; 39 }; 40}