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

Commits on Feb 14, 2018

  1. gopkgs: init at 2017-12-29

    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester committed Feb 14, 2018
    Copy the full SHA
    8cf5684 View commit details
  2. Merge pull request #33430 from vdemeester/init-gopkgs

    gopkgs: init at 2017-12-29
    nlewo authored Feb 14, 2018
    Copy the full SHA
    c385a1b View commit details
Showing with 37 additions and 0 deletions.
  1. +24 −0 pkgs/development/tools/gopkgs/default.nix
  2. +11 −0 pkgs/development/tools/gopkgs/deps.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
24 changes: 24 additions & 0 deletions pkgs/development/tools/gopkgs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "gopkgs-${version}";
version = "unstable-2017-12-29";
rev = "b2ea2ecd37740e6ce0e020317d90c729aab4dc6d";

goPackagePath = "github.com/uudashr/gopkgs";
goDeps = ./deps.nix;

src = fetchFromGitHub {
inherit rev;
owner = "uudashr";
repo = "gopkgs";
sha256 = "1hwzxrf2h8xjbbx6l86mjpjh4csxxsy17zkh8h3qzncyfnsnczzg";
};

meta = {
description = "Tool to get list available Go packages.";
homepage = https://github.com/uudashr/gopkgs;
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
license = stdenv.lib.licenses.mit;
};
}
11 changes: 11 additions & 0 deletions pkgs/development/tools/gopkgs/deps.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/MichaelTJones/walk";
fetch = {
type = "git";
url = "https://github.com/MichaelTJones/walk";
rev = "4748e29d5718c2df4028a6543edf86fd8cc0f881";
sha256 = "03bc3cql3w8cx05xlnzxsff59c6679rcpx4njzk86k00blkkizv7";
};
}
]
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -13392,6 +13392,8 @@ with pkgs;

goimports = callPackage ../development/tools/goimports { };

gopkgs = callPackage ../development/tools/gopkgs { };

govers = callPackage ../development/tools/govers { };

gotools = callPackage ../development/tools/gotools { };