Skip to content

Commit

Permalink
Merge pull request #19506 from Mic92/rancher-compose
Browse files Browse the repository at this point in the history
rancher-compose: init at 0.10.0
  • Loading branch information
Mic92 committed Oct 15, 2016
2 parents bffdf2c + d60b74e commit dab4f0a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/applications/virtualization/rancher-compose/default.nix
@@ -0,0 +1,39 @@
{ lib, buildGoPackage, fetchFromGitHub }:

let
generic = { version, sha256 }: buildGoPackage rec {
name = "rancher-compose-${version}";

goPackagePath = "github.com/rancher/rancher-compose";

src = fetchFromGitHub {
owner = "rancher";
repo = "rancher-compose";
rev = "v${version}";
inherit sha256;
};

excludedPackages = "scripts";

meta = with lib; {
description = "Docker compose compatible client to deploy to Rancher";
homepage = "https://docs.rancher.com/rancher/rancher-compose/";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [maintainers.mic92];
};
};
in {
# should point to a version compatible
# with the latest stable release of rancher
rancher-compose = generic {
version = "0.9.2";
sha256 = "1wlsdjaa4j2b3c034hb6zci5h900b1msimmshz5h4g5hiaqb3khq";
};

# for rancher v1.2.0-pre3+
rancher-compose_0_10 = generic {
version = "0.10.0";
sha256 = "17f3ya4qq0dzk4wvhgxp0lh9p8c87kpq7hmh3g21ashzqwmcflxl";
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -14198,6 +14198,10 @@ in
fltk = fltk13;
};

inherit (callPackage ../applications/virtualization/rancher-compose {})
rancher-compose
rancher-compose_0_10;

renoise = callPackage ../applications/audio/renoise {
demo = false;
};
Expand Down

0 comments on commit dab4f0a

Please sign in to comment.