mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
18 lines
476 B
Nix
18 lines
476 B
Nix
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
buildGoPackage rec {
|
|
name = "oh-${version}";
|
|
version = "20160522-${stdenv.lib.strings.substring 0 7 rev}";
|
|
rev = "0daaf4081475fb9d6b3801c85019bdd57b2ee9b4";
|
|
|
|
goPackagePath = "github.com/michaelmacinnis/oh";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/michaelmacinnis/oh";
|
|
sha256 = "0ajidzs0aisbw74nri9ks6sx6644nmwkisc9mvxm3f89zmnlsgwr";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
}
|