diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/exercism/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/exercism/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/exercism/default.nix b/nixpkgs/pkgs/applications/misc/exercism/default.nix new file mode 100644 index 000000000000..21fed2e28def --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/exercism/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "exercism-${version}"; + version = "3.0.11"; + + goPackagePath = "github.com/exercism/cli"; + + src = fetchFromGitHub { + owner = "exercism"; + repo = "cli"; + rev = "v${version}"; + sha256 = "1wg23bvibsk6j4iqwyw35wl9plfwdqxiql81zci7r1x4d5cp26av"; + }; + + goDeps = ./deps.nix; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "A Go based command line tool for exercism.io"; + license = licenses.mit; + maintainers = [ maintainers.rbasso ]; + }; +} |