git.iko.soy/typeable/nixpkgs
on master help sign in
rancher-compose: init at 0.10.0
commitd60b74e7db545a2d64ed255c4a0093843b8653e9 authorJörg Thalheim <joerg@higgsboson.tk> dateWed 12 Oct 2016, 18:19 (10 years ago) parentbfc1ec2
2 files changed+44−1
pkgs/applications/virtualization/rancher-compose/default.nix+39 pkgs/top-level/all-packages.nix+5−1
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+5−1
@@ -2305,7 +2305,7 @@ in
23052305 less = callPackage ../tools/misc/less { };
23062306
23072307 lf = callPackage ../tools/misc/lf {};
2308−
2308+
23092309 lhasa = callPackage ../tools/compression/lhasa {};
23102310
23112311 libcpuid = callPackage ../tools/misc/libcpuid { };
@@ -14174,6 +14174,10 @@ in
1417414174 fltk = fltk13;
1417514175 };
1417614176
14177+ inherit (callPackage ../applications/virtualization/rancher-compose {})
14178+ rancher-compose
14179+ rancher-compose_0_10;
14180+
1417714181 renoise = callPackage ../applications/audio/renoise {
1417814182 demo = false;
1417914183 };