mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
24 lines
591 B
Nix
24 lines
591 B
Nix
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||
|
|
||
|
buildGoPackage rec {
|
||
|
name = "exercism-${version}";
|
||
|
version = "2.3.0";
|
||
|
|
||
|
goPackagePath = "github.com/exercism/cli";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "exercism";
|
||
|
repo = "cli";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1zhvvmsh5kw739kylk0bqj1wa6vjyahz43dlxdpv42h8gfiiksf5";
|
||
|
};
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "A Go based command line tool for exercism.io";
|
||
|
homepage = http://exercism.io/cli;
|
||
|
license = licenses.mit;
|
||
|
maintainers = [ maintainers.rbasso ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|