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";
|
2024-05-11 08:14:29 +00:00
|
|
|
version = "3.4.0";
|
2016-11-02 18:01:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-04-09 09:06:45 +00:00
|
|
|
owner = "exercism";
|
|
|
|
repo = "cli";
|
2023-08-01 13:02:29 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-05-11 08:14:29 +00:00
|
|
|
hash = "sha256-+Tg9b7JZtriF5b+mnLgOeTTLiswH/dSGg3Mj1TBt4Wk=";
|
2016-11-02 18:01:17 +00:00
|
|
|
};
|
|
|
|
|
2024-05-11 08:14:29 +00:00
|
|
|
vendorHash = "sha256-xY3C3emqtPIKyxIN9aEkrLXhTxWNmo0EJXNZVtbtIvs=";
|
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;
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Go based command line tool for exercism.io";
|
2016-11-02 18:01:17 +00:00
|
|
|
license = licenses.mit;
|
2020-09-18 10:02:47 +00:00
|
|
|
maintainers = [ maintainers.rbasso maintainers.nobbz ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "exercism";
|
2016-11-02 18:01:17 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|