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

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

27 lines
620 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
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 {
owner = "exercism";
repo = "cli";
rev = "v${version}";
2022-10-05 10:05:40 +00:00
sha256 = "sha256-9GdkQaxYvxMGI5aFwUtQnctjpZfjZaKP3CsMjC/ZBSo";
2016-11-02 18:01:17 +00:00
};
2022-10-05 10:05:40 +00:00
vendorSha256 = "sha256-EW9SNUqJHgPQlNpeErYaooJRXGcDrNpXLhMYpmZPVSw";
doCheck = false;
subPackages = [ "./exercism" ];
2018-07-29 19:36:32 +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
};
}