Daniel Siepmann
184bf48147
This allows to only download and build environment for the actual language one is playing with. Also do not use downloaded binary but provide a derivation for exercism binary.
25 lines
548 B
Nix
25 lines
548 B
Nix
{
|
|
buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "exercism";
|
|
version = "3.3.0";
|
|
src = fetchFromGitHub {
|
|
owner = "exercism";
|
|
repo = "cli";
|
|
rev = "v${version}";
|
|
sha256 = "Mtb5c1/k8kp7bETOSE0X969BV176jpoprr1/mQ3E4Vg=";
|
|
};
|
|
|
|
vendorHash = "sha256-fnsSvbuVGRAndU88su2Ck7mV8QBDhxozdmwI3XGtxcA=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/exercism/cli";
|
|
description = "Command line interface for exercism website";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|