nixpkgs/pkgs/shells/elvish/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00

26 lines
647 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "elvish-${version}";
version = "0.1";
goPackagePath = "github.com/elves/elvish";
src = fetchFromGitHub {
repo = "elvish";
owner = "elves";
rev = "4125c2bb927330b0100b354817dd4ad252118ba6";
sha256 = "1xwhjbw0y6j5xy19hz39456l0v6vjg2icd7c1jx4h1cydk3yn39f";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "A Novel unix shell in go language";
homepage = https://github.com/elves/elvish;
license = licenses.bsd2;
maintainers = with maintainers; [ vrthra ];
platforms = with platforms; [ linux ];
};
}