self: with self; let pname = "concourse"; version = "7.9.1"; tarfile = "${pname}-${version}-linux-amd64.tgz"; in stdenv.mkDerivation rec { inherit pname version; src = builtins.fetchTarball { url = "https://github.com/concourse/concourse/releases/download/v${version}/${tarfile}"; sha256 = "sha256:0w3q4bj9wxw0w7jrk9r8va5ipz26k2szsfx34ss9hh2bbpp7mryw"; }; phases = ["installPhase"]; installPhase = '' mkdir -p $out/bin cp -r $src/* $out/ ''; }