1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "docker-compose";
7 src = fetchFromGitHub {
11 hash = "sha256-L+RDO31LnQbWA22bkCrnU2QDF6+eCPwbPpzZxHGrZ1Q=";
15 # entirely separate package that breaks the build
19 vendorHash = "sha256-IbDr2cTGmJZM8G2cj35CwfEX+DWVD0L4pUxHBvu9EfI=";
21 ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ];
26 install -D $GOPATH/bin/cmd $out/libexec/docker/cli-plugins/docker-compose
29 ln -s $out/libexec/docker/cli-plugins/docker-compose $out/bin/docker-compose
34 description = "Docker CLI plugin to define and run multi-container applications with Docker";
35 mainProgram = "docker-compose";
36 homepage = "https://github.com/docker/compose";
37 license = licenses.asl20;