2016-11-02 18:01:17 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "exercism";
|
2019-10-07 12:01:24 +01:00
|
|
|
version = "3.0.12";
|
2016-11-02 18:01:17 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/exercism/cli";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2019-10-07 12:01:24 +01:00
|
|
|
sha256 = "1xvxcl7j5izx5lgmjd97zd28lg2sydwgbgn2cnisz5r0d27pj3ra";
|
2016-11-02 18:01:17 +00:00
|
|
|
};
|
|
|
|
|
2018-07-29 20:36:32 +01:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2016-11-02 18:01:17 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-07-29 20:36:32 +01:00
|
|
|
inherit (src.meta) homepage;
|
2016-11-02 18:01:17 +00:00
|
|
|
description = "A Go based command line tool for exercism.io";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rbasso ];
|
|
|
|
};
|
|
|
|
}
|