mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
27 lines
620 B
Nix
27 lines
620 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "exercism";
|
|
version = "3.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "exercism";
|
|
repo = "cli";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-9GdkQaxYvxMGI5aFwUtQnctjpZfjZaKP3CsMjC/ZBSo";
|
|
};
|
|
|
|
vendorSha256 = "sha256-EW9SNUqJHgPQlNpeErYaooJRXGcDrNpXLhMYpmZPVSw";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "./exercism" ];
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "A Go based command line tool for exercism.io";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.rbasso maintainers.nobbz ];
|
|
};
|
|
}
|