about summary refs log tree commit diff
path: root/nixpkgs/pkgs/shells/oh/default.nix
blob: 33e71358b4d5a813a7f110d36f777c7ecb54187d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ buildGoPackage, fetchgit, lib }:

buildGoPackage rec {
  pname = "oh";
  version = "20160522-${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;

  meta = with lib;{
    homepage = "https://github.com/michaelmacinnis/oh";
    description = "A Unix shell";
    license = lib.licenses.mit;
  };
}