about summary refs log tree commit diff
path: root/pkgs/applications/misc/exercism/default.nix
blob: d0b98863d2036fb9bdb90e41b2c6a60f3e3198bf (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, fetchFromGitHub }:

buildGoPackage rec {
  name    = "exercism-${version}";
  version = "2.4.0";

  goPackagePath = "github.com/exercism/cli";

  src = fetchFromGitHub {
    owner  = "exercism";
    repo   = "cli";
    rev    = "v${version}";
    sha256 = "1hl13sr4ymqg9sjhkxdmhf8cfw69cic3bysw34xfv2j6bjjxfwaa";
  };

  meta = with stdenv.lib; {
   description = "A Go based command line tool for exercism.io";
   homepage    = http://exercism.io/cli;
   license     = licenses.mit;
   maintainers = [ maintainers.rbasso ];
   platforms   = platforms.unix;
  };
}