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

24 lines
590 B
Nix
Raw Normal View History

2016-11-02 18:01:17 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "exercism-${version}";
2017-11-25 21:36:20 +00:00
version = "2.4.1";
2016-11-02 18:01:17 +00:00
goPackagePath = "github.com/exercism/cli";
src = fetchFromGitHub {
owner = "exercism";
repo = "cli";
rev = "v${version}";
2017-11-25 21:36:20 +00:00
sha256 = "1nab4459zi2gkh18k9vsm54bz39c2sb60v2xy0i72j1vd99axjjj";
2016-11-02 18:01:17 +00:00
};
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.unix;
2016-11-02 18:01:17 +00:00
};
}