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

27 lines
625 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2016-11-02 18:01:17 +00:00
buildGoModule rec {
pname = "exercism";
2019-10-24 20:09:20 +01:00
version = "3.0.13";
2016-11-02 18:01:17 +00:00
src = fetchFromGitHub {
owner = "exercism";
repo = "cli";
rev = "v${version}";
2019-10-24 20:09:20 +01:00
sha256 = "17gvz9a0sn4p36hf4l77bxhhfipf4x998iay31layqwbnzmb4xy7";
2016-11-02 18:01:17 +00:00
};
vendorSha256 = "0b2m9xkac60k5rbxmb03cxf530m23av14pnsjk8067l998sm4vqi";
doCheck = false;
subPackages = [ "./exercism" ];
2018-07-29 20:36:32 +01:00
meta = with lib; {
2018-07-29 20:36:32 +01: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 11:02:47 +01:00
maintainers = [ maintainers.rbasso maintainers.nobbz ];
2016-11-02 18:01:17 +00:00
};
}