1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "docker-compose";
7 src = fetchFromGitHub {
11 hash = "sha256-g8XaMvKt3tR7a7kq+n4ueDXx9iWuAu02ONb73W23ZGY=";
15 # entirely separate package that breaks the build
19 vendorHash = "sha256-BeW39XN1CvPCCq4otX+Il2dGGcjGrTMzc4iSXmQZFmw=";
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 homepage = "https://github.com/docker/compose";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ babariviere ];