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: 3807408c383b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 97af9310d543
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Dec 4, 2017

  1. gox: 20140904 -> 0.4.0

    adisbladis committed Dec 4, 2017
    Copy the full SHA
    6530159 View commit details
  2. vault: 0.8.3 -> 0.9.0

    adisbladis committed Dec 4, 2017
    Copy the full SHA
    f019707 View commit details
  3. Merge pull request #32300 from adisbladis/vault-0_9_0

    vault: 0.8.3 -> 0.9.0
    LnL7 authored Dec 4, 2017
    Copy the full SHA
    97af931 View commit details
Showing with 20 additions and 12 deletions.
  1. +15 −8 pkgs/development/tools/gox/default.nix
  2. +2 −2 pkgs/development/tools/gox/deps.nix
  3. +3 −2 pkgs/tools/security/vault/default.nix
23 changes: 15 additions & 8 deletions pkgs/development/tools/gox/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "gox-${version}";
version = "20140904-${stdenv.lib.strings.substring 0 7 rev}";
rev = "e8e6fd4fe12510cc46893dff18c5188a6a6dc549";
version = "0.4.0";


goPackagePath = "github.com/mitchellh/gox";

src = fetchgit {
inherit rev;
url = "https://github.com/mitchellh/gox";
sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1";
src = fetchFromGitHub {
owner = "mitchellh";
repo = "gox";
rev = "v${version}";
sha256 = "1q4fdkw904mrmh1q5z8pfd3r0gcn5dm776kldqawddy93iiwnp8r";
};

goDeps = ./deps.nix;

meta = with stdenv.lib; {
homepage = https://github.com/mitchellh/gox;
description = "A dead simple, no frills Go cross compile tool";
platforms = platforms.all;
license = licenses.mpl20;
};

}
4 changes: 2 additions & 2 deletions pkgs/development/tools/gox/deps.nix
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@
fetch = {
type = "git";
url = "https://github.com/mitchellh/iochan";
rev = "b584a329b193e206025682ae6c10cdbe03b0cd77";
sha256 = "1fcwdhfci41ibpng2j4c1bqfng578cwzb3c00yw1lnbwwhaq9r6b";
rev = "87b45ffd0e9581375c491fef3d32130bb15c5bd7";
sha256 = "1435kdcx3j1xgr6mm5c7w7hjx015jb20yfqlkp93q143hspf02fx";
};
}
]
5 changes: 3 additions & 2 deletions pkgs/tools/security/vault/default.nix
Original file line number Diff line number Diff line change
@@ -9,20 +9,21 @@ let
};
in stdenv.mkDerivation rec {
name = "vault-${version}";
version = "0.8.3";
version = "0.9.0";

src = fetchFromGitHub {
owner = "hashicorp";
repo = "vault";
rev = "v${version}";
sha256 = "1dcmqbcdkj42614am2invb6wf8v29z4sp4d354a4d83rwhyb0qly";
sha256 = "1c3jaajf3wpjczbncvdpyy5vaa62gb9287bj2zi2khvqzvii36b0";
};

nativeBuildInputs = [ go gox removeReferencesTo ];

buildPhase = ''
patchShebangs ./
substituteInPlace scripts/build.sh --replace 'git rev-parse HEAD' 'echo ${src.rev}'
sed -i s/'^GIT_DIRTY=.*'/'GIT_DIRTY="+NixOS"'/ scripts/build.sh
mkdir -p src/github.com/hashicorp
ln -s $(pwd) src/github.com/hashicorp/vault