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