2023-04-09 09:06:45 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nix-update-script }:
|
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";
|
2022-10-05 10:05:40 +00:00
|
|
|
version = "3.1.0";
|
2016-11-02 18:01:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-04-09 09:06:45 +00:00
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-9GdkQaxYvxMGI5aFwUtQnctjpZfjZaKP3CsMjC/ZBSo=";
|
2016-11-02 18:01:17 +00:00
|
|
|
};
|
|
|
|
|
2023-04-09 09:06:45 +00:00
|
|
|
vendorHash = "sha256-EW9SNUqJHgPQlNpeErYaooJRXGcDrNpXLhMYpmZPVSw=";
|
2019-10-20 10:47:55 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-10-20 10:47:55 +00:00
|
|
|
subPackages = [ "./exercism" ];
|
2018-07-29 19:36:32 +00:00
|
|
|
|
2023-04-09 09:06:45 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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;
|
2020-09-18 10:02:47 +00:00
|
|
|
maintainers = [ maintainers.rbasso maintainers.nobbz ];
|
2016-11-02 18:01:17 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|