Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d8e8c8fcaab4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 352708dbac69
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 31, 2020

  1. Copy the full SHA
    c508408 View commit details
  2. Merge pull request #78950 from zowoq/kompose

    kompose: 1.18.0 -> 1.20.0
    marsam authored Jan 31, 2020
    Copy the full SHA
    352708d View commit details
Showing with 10 additions and 3 deletions.
  1. +10 −3 pkgs/applications/networking/cluster/kompose/default.nix
13 changes: 10 additions & 3 deletions pkgs/applications/networking/cluster/kompose/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:

buildGoPackage rec {
pname = "kompose";
version = "1.18.0";
version = "1.20.0";

goPackagePath = "github.com/kubernetes/kompose";

src = fetchFromGitHub {
rev = "v${version}";
owner = "kubernetes";
repo = "kompose";
sha256 = "1hb4bs710n9fghphhfakwg42wjscf136dcr05zwwfg7iyqx2cipc";
sha256 = "1zgxm3zcxapav4jxh1r597rmxmlxcgns1l8w632ch7d90x5ihvll";
};

nativeBuildInputs = [ installShellFiles ];
postInstall = ''
$bin/bin/kompose completion bash > kompose.bash
$bin/bin/kompose completion zsh > kompose.zsh
installShellCompletion kompose.{bash,zsh}
'';

meta = with stdenv.lib; {
description = "A tool to help users who are familiar with docker-compose move to Kubernetes";
homepage = https://github.com/kubernetes/kompose;