3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Dan Peebles 5523ab8807 go-packages: further simplification
This change is the result of replacing:

    buildGoPackage rec \{\s+rev\s+=\s+"(.*)";\s+name\s+=\s+"(.*)-\$\{stdenv.lib.strings.substring 0 7 rev\}";\s+goPackagePath\s+=\s+"github.com/(.*)/\2";\s+src\s+=\s+fetchFromGitHub\s+\{\s+inherit rev;\s+owner\s+=\s+"\3";\s+repo\s+=\s+"\2";\s+sha256\s+=\s"(.*)";\s+\};\s+\};

with:

    buildFromGitHub {\n    rev    = "$1";\n    owner  = "$3";\n    repo   = "$2";\n    sha256 = "$4";\n  };

in pkgs/top-level/go-packages.nix.

I also inherited `rev` in `buildFromGitHub` to prevent a mass rebuild of Go packages, even though it's unused.
2015-07-29 05:14:13 +00:00
..
applications x2goclient: 4.0.4.0 -> 4.0.5.0 2015-07-29 00:19:31 +02:00
build-support buildRustPackage: Fix rust builds due to #7524 2015-07-24 20:47:58 +02:00
data dejavu-fonts: don't install the fonts twice :-S 2015-07-26 17:49:31 +02:00
desktops gnome3: file-roller: add openssl dependency 2015-07-28 23:19:26 +02:00
development emacs: Update Mac Port Emacs to 24.5-mac-5.9 2015-07-28 20:08:53 -07:00
games adom: get rid of unneeded process 2015-07-28 12:58:53 +03:00
misc ghostscript: Get rid of docs/examples 2015-07-26 22:46:45 +02:00
os-specific mcelog: 121 -> 122 2015-07-28 23:19:35 +02:00
servers emacs: Update Mac Port Emacs to 24.5-mac-5.9 2015-07-28 20:08:53 -07:00
shells Merge branch 'master.upstream' into staging.upstream 2015-07-15 02:02:46 -07:00
stdenv make bootstrap files buildable in sandbox 2015-07-10 14:00:47 -07:00
test
tools Merge pull request #9023 from benley/awscli-completion 2015-07-29 00:35:27 +03:00
top-level go-packages: further simplification 2015-07-29 05:14:13 +00:00