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

Commits on Oct 8, 2019

  1. drone-cli: 0.8.6 -> 1.2.0

    kampka committed Oct 8, 2019
    Copy the full SHA
    3aa784b View commit details
  2. Merge pull request #70540 from kampka/drone-cli

    drone-cli: 0.8.6 -> 1.2.0
    c0bw3b authored Oct 8, 2019
    Copy the full SHA
    3fea3bb View commit details
Showing with 10 additions and 280 deletions.
  1. +10 −6 pkgs/development/tools/continuous-integration/drone-cli/default.nix
  2. +0 −274 pkgs/development/tools/continuous-integration/drone-cli/deps.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# with import <nixpkgs>{};
{ stdenv, fetchFromGitHub, buildGoPackage }:
{ stdenv, fetchFromGitHub, buildGoModule }:

buildGoPackage rec {
let version = "1.2.0";
in buildGoModule rec {
inherit version;
pname = "drone-cli";
version = "0.8.6";
revision = "v${version}";
goPackagePath = "github.com/drone/drone-cli";

goDeps= ./deps.nix;
modSha256 = "0jvhnrvqi1axypyzgjzbv44s7w1j53y6wak6xlkxdm64qw6pf1hc";

preBuild = ''
buildFlagsArray+=("-ldflags" "-X main.version=${version}")
'';

src = fetchFromGitHub {
owner = "drone";
repo = "drone-cli";
rev = revision;
sha256 = "1vvilpqyx9jl0lc9hr73qxngwhwbyk81fycal7ys1w59gv9hxrh9";
sha256 = "1b1c3mih760z3hx5xws9h4m1xhlx1pm4qhm3sm31cyim9p8rmi4s";
};

meta = with stdenv.lib; {
274 changes: 0 additions & 274 deletions pkgs/development/tools/continuous-integration/drone-cli/deps.nix

This file was deleted.