2016-11-02 19:01:17 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "exercism-${version}";
|
2018-07-29 21:36:32 +02:00
|
|
|
version = "3.0.6";
|
2016-11-02 19:01:17 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/exercism/cli";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2018-07-29 21:36:32 +02:00
|
|
|
sha256 = "0xr5bqzm0md1vllnr384k92k7w1nxzw9lhqgm23zkxx5a4vqzy56";
|
2016-11-02 19:01:17 +01:00
|
|
|
};
|
|
|
|
|
2018-07-29 21:36:32 +02:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2016-11-02 19:01:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-07-29 21:36:32 +02:00
|
|
|
inherit (src.meta) homepage;
|
2016-11-02 19:01:17 +01:00
|
|
|
description = "A Go based command line tool for exercism.io";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rbasso ];
|
|
|
|
};
|
|
|
|
}
|