about summary refs log tree commit diff
path: root/nixpkgs/pkgs/shells/oh/default.nix
blob: 3ae8a7c600aac21efc85ae83687f2187e58076f6 (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
{ stdenv, buildGoPackage, fetchgit, lib }:

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;

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