depot/third_party/nixpkgs/pkgs/applications/misc/exercism/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

28 lines
685 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nix-update-script }:
buildGoModule rec {
pname = "exercism";
version = "3.1.0";
src = fetchFromGitHub {
owner = "exercism";
repo = "cli";
rev = "v${version}";
hash = "sha256-9GdkQaxYvxMGI5aFwUtQnctjpZfjZaKP3CsMjC/ZBSo=";
};
vendorHash = "sha256-EW9SNUqJHgPQlNpeErYaooJRXGcDrNpXLhMYpmZPVSw=";
doCheck = false;
subPackages = [ "./exercism" ];
passthru.updateScript = nix-update-script { };
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 ];
};
}