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

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

29 lines
695 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";
2023-08-01 13:02:29 +00:00
version = "3.2.0";
2016-11-02 18:01:17 +00:00
src = fetchFromGitHub {
2023-04-09 09:06:45 +00:00
owner = "exercism";
repo = "cli";
2023-08-01 13:02:29 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-+DXmbbs9oo667o5P0OVcfBMMIvyBzEAdbrq9i+U7p0k=";
2016-11-02 18:01:17 +00:00
};
2023-08-01 13:02:29 +00:00
vendorHash = "sha256-wQGnGshsRJLe3niHDoyr3BTxbwrV3L66EjJ8x633uHY=";
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
};
}