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

29 lines
685 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";
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=";
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;
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
};
}