nixpkgs/pkgs/applications/misc/exercism/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
722 B
Nix
Raw Normal View History

2023-04-09 09:06:45 +00:00
{ lib, buildGoModule, fetchFromGitHub, nix-update-script }:
2016-11-02 18:01:17 +00:00
buildGoModule rec {
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=";
doCheck = false;
subPackages = [ "./exercism" ];
2018-07-29 19:36:32 +00:00
2023-04-09 09:06:45 +00:00
passthru.updateScript = nix-update-script { };
meta = with lib; {
2018-07-29 19:36:32 +00:00
inherit (src.meta) homepage;
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
};
}