@@ -1,44 +0,0 @@
1−{ lib, buildGoPackage, fetchFromGitHub }:
2−
3−let
4− generic = { version, sha256 }: buildGoPackage rec {
5− name = "rancher-compose-${version}";
6−
7− goPackagePath = "github.com/rancher/rancher-compose";
8−
9− src = fetchFromGitHub {
10− owner = "rancher";
11− repo = "rancher-compose";
12− rev = "v${version}";
13− inherit sha256;
14− };
15−
16− buildFlagsArray = ''
17− -ldflags=
18− -X github.com/rancher/rancher-compose/version.VERSION=${version}
19− '';
20−
21− excludedPackages = "scripts";
22−
23− meta = with lib; {
24− description = "Docker compose compatible client to deploy to Rancher";
25− homepage = https://docs.rancher.com/rancher/rancher-compose/;
26− license = licenses.asl20;
27− platforms = platforms.unix;
28− maintainers = [maintainers.mic92];
29− };
30− };
31−in {
32− # should point to a version compatible
33− # with the latest stable release of rancher
34− rancher-compose = generic {
35− version = "0.9.2";
36− sha256 = "1wlsdjaa4j2b3c034hb6zci5h900b1msimmshz5h4g5hiaqb3khq";
37− };
38−
39− # for rancher v1.2.0-pre3+
40− rancher-compose_0_10 = generic {
41− version = "0.10.0";
42− sha256 = "17f3ya4qq0dzk4wvhgxp0lh9p8c87kpq7hmh3g21ashzqwmcflxl";
43− };
44−}