2016-11-02 19:01:17 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "exercism-${version}";
|
2017-03-25 15:38:55 +01:00
|
|
|
version = "2.4.0";
|
2016-11-02 19:01:17 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/exercism/cli";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2017-03-25 15:38:55 +01:00
|
|
|
sha256 = "1hl13sr4ymqg9sjhkxdmhf8cfw69cic3bysw34xfv2j6bjjxfwaa";
|
2016-11-02 19:01:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2017-01-24 03:54:38 +01:00
|
|
|
platforms = platforms.unix;
|
2016-11-02 19:01:17 +01:00
|
|
|
};
|
|
|
|
}
|