git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19506 from Mic92/rancher-compose

rancher-compose: init at 0.10.0

commitdab4f0a7201d10be8e2aeaddec621536709ba8a2 authorJörg Thalheim <joerg@higgsboson.tk> dateSat 15 Oct 2016, 22:11 (10 years ago) parentbffdf2cd60b74e
2 files changed+43
pkgs/applications/virtualization/rancher-compose/default.nix+39 pkgs/top-level/all-packages.nix+4
pkgs/applications/virtualization/rancher-compose/default.nixnew file+39
@@ -0,0 +1,39 @@
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+ excludedPackages = "scripts";
17+
18+ meta = with lib; {
19+ description = "Docker compose compatible client to deploy to Rancher";
20+ homepage = "https://docs.rancher.com/rancher/rancher-compose/";
21+ license = licenses.asl20;
22+ platforms = platforms.unix;
23+ maintainers = [maintainers.mic92];
24+ };
25+ };
26+in {
27+ # should point to a version compatible
28+ # with the latest stable release of rancher
29+ rancher-compose = generic {
30+ version = "0.9.2";
31+ sha256 = "1wlsdjaa4j2b3c034hb6zci5h900b1msimmshz5h4g5hiaqb3khq";
32+ };
33+
34+ # for rancher v1.2.0-pre3+
35+ rancher-compose_0_10 = generic {
36+ version = "0.10.0";
37+ sha256 = "17f3ya4qq0dzk4wvhgxp0lh9p8c87kpq7hmh3g21ashzqwmcflxl";
38+ };
39+}
pkgs/top-level/all-packages.nix+4
@@ -14198,6 +14198,10 @@ in
1419814198 fltk = fltk13;
1419914199 };
1420014200
14201+ inherit (callPackage ../applications/virtualization/rancher-compose {})
14202+ rancher-compose
14203+ rancher-compose_0_10;
14204+
1420114205 renoise = callPackage ../applications/audio/renoise {
1420214206 demo = false;
1420314207 };