Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 681 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5}: 6 7buildGoModule rec { 8 pname = "drone-runner-docker"; 9 version = "1.8.4"; 10 11 src = fetchFromGitHub { 12 owner = "drone-runners"; 13 repo = "drone-runner-docker"; 14 tag = "v${version}"; 15 sha256 = "sha256-xJbmxoyL4Sb6YkkwgysGte44ZBKYHjc5QdYa+b62C/M="; 16 }; 17 18 vendorHash = "sha256-KcNp3VdJ201oxzF0bLXY4xWHqHNz54ZrVSI96cfhU+k="; 19 20 meta = with lib; { 21 maintainers = [ ]; 22 license = licenses.unfreeRedistributable; 23 homepage = "https://github.com/drone-runners/drone-runner-docker"; 24 description = "Drone pipeline runner that executes builds inside Docker containers"; 25 mainProgram = "drone-runner-docker"; 26 }; 27}