{ lib , fetchFromGitHub , buildGoModule , enableUnfree ? true }: buildGoModule rec { pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}"; version = "2.18.0"; src = fetchFromGitHub { owner = "harness"; repo = "drone"; rev = "v${version}"; sha256 = "sha256-fN86wdKe3KWRkVxRK/4L4Gcf8auelAi2e+erANLCCmA="; }; vendorHash = "sha256-3Gjo5i3tLXZNUNdp+CKX5hPxVupH5juUIKzndN2AaBU="; tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ]; doCheck = false; meta = with lib; { description = "Continuous Integration platform built on container technology"; homepage = "https://github.com/harness/drone"; maintainers = with maintainers; [ elohmeier vdemeester techknowlogick ]; license = with licenses; if enableUnfree then unfreeRedistributable else asl20; }; }