2016-11-02 18:01:17 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "exercism-${version}";
|
2018-09-22 16:09:41 +00:00
|
|
|
version = "3.0.9";
|
2016-11-02 18:01:17 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/exercism/cli";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
2018-09-22 16:09:41 +00:00
|
|
|
sha256 = "0nr3dzipylicrbplh25dw0w84qklr0xcyq442i9aswzibqrb2vc6";
|
2016-11-02 18:01:17 +00:00
|
|
|
};
|
|
|
|
|
2018-07-29 19:36:32 +00:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|