diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2019-01-26 11:25:20 -0300 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-26 14:25:20 +0000 |
commit | 675ebc55595676b158ac6ce9f9d67bfcf9861993 (patch) | |
tree | 69d82c2a1fa7f689c40ff42d8a0ea5e5ff85003e /pkgs/shells/elvish | |
parent | 2c226107cb544c1f9baf08f9cfa149023cda78e4 (diff) | |
download | nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.tar nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.tar.gz nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.tar.bz2 nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.tar.lz nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.tar.xz nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.tar.zst nixpkgs-675ebc55595676b158ac6ce9f9d67bfcf9861993.zip |
elvish: a small fixup (#54531)
* Elvish: a small fixup Fixing version variable in order to properly download the source code. Also, some minor stylistical modifications and additions. * elvish: use pname * Update pkgs/shells/elvish/default.nix Use `pname` instead of `name`. Co-Authored-By: AndersonTorres <torres.anderson.85@protonmail.com>
Diffstat (limited to 'pkgs/shells/elvish')
-rw-r--r-- | pkgs/shells/elvish/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/shells/elvish/default.nix b/pkgs/shells/elvish/default.nix index 0b7b934646e..80b0f386051 100644 --- a/pkgs/shells/elvish/default.nix +++ b/pkgs/shells/elvish/default.nix @@ -1,7 +1,7 @@ { stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { - name = "elvish-${version}"; + pname = "elvish"; version = "0.12"; goPackagePath = "github.com/elves/elvish"; @@ -12,17 +12,22 @@ buildGoPackage rec { ''; src = fetchFromGitHub { - repo = "elvish"; owner = "elves"; - rev = version; + repo = pname; + rev = "v${version}"; sha256 = "1vvbgkpnrnb5aaak4ks45wl0cyp0vbry8bpxl6v2dpmq9x0bscpp"; }; meta = with stdenv.lib; { - description = "A friendly and expressive Unix shell"; + description = "A friendly and expressive command shell"; + longDescription = '' + Elvish is a friendly interactive shell and an expressive programming + language. It runs on Linux, BSDs, macOS and Windows. Despite its pre-1.0 + status, it is already suitable for most daily interactive use. + ''; homepage = https://elv.sh/; license = licenses.bsd2; - maintainers = with maintainers; [ vrthra ]; + maintainers = with maintainers; [ vrthra AndersonTorres ]; platforms = with platforms; linux ++ darwin; }; |