2020-03-27 08:33:21 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-11-02 19:01:17 +01:00
|
|
|
|
2019-10-20 12:47:55 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "exercism";
|
2019-10-24 21:09:20 +02:00
|
|
|
version = "3.0.13";
|
2016-11-02 19:01:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2019-10-24 21:09:20 +02:00
|
|
|
sha256 = "17gvz9a0sn4p36hf4l77bxhhfipf4x998iay31layqwbnzmb4xy7";
|
2016-11-02 19:01:17 +01:00
|
|
|
};
|
|
|
|
|
2019-10-20 12:47:55 +02:00
|
|
|
modSha256 = "0pg0hxrr6jjd03wbjn5y65x02md3h352mnm1gr6vyiv7hn4ws14m";
|
|
|
|
|
|
|
|
subPackages = [ "./exercism" ];
|
2018-07-29 21:36:32 +02:00
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|