mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
18 lines
432 B
Nix
18 lines
432 B
Nix
{ stdenv, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "oh";
|
|
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;
|
|
}
|