at 22.05-pre 26 lines 681 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "docker-compose"; 5 version = "2.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "docker"; 9 repo = "compose"; 10 rev = "v${version}"; 11 sha256 = "sha256-6OjA3f6c9s/86UPxy9EqLIc/0ZuW6UhKyQdkM7YoTsU="; 12 }; 13 14 vendorSha256 = "sha256-6h36TZmo0RvB3YzZRmsrs2Fbl+8zPTuL9LxWkuNgRqw="; 15 16 doCheck = false; 17 installPhase = '' 18 install -D $GOPATH/bin/cmd $out/libexec/docker/cli-plugins/docker-compose 19 ''; 20 21 meta = with lib; { 22 description = "Docker CLI plugin to define and run multi-container applications with Docker"; 23 license = licenses.asl20; 24 maintainers = [ maintainers.babariviere ]; 25 }; 26}