git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commit675ebc55595676b158ac6ce9f9d67bfcf9861993 authorAnderson Torres <torres.anderson.85@protonmail.com> dateSat 26 Jan 2019, 11:25 (8 years ago) parent2c22610
1 file changed+10−5
pkgs/shells/elvish/default.nix+10−5
pkgs/shells/elvish/default.nix+10−5
@@ -1,7 +1,7 @@
11{ stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
4− name = "elvish-${version}";
4+ pname = "elvish";
55 version = "0.12";
66
77 goPackagePath = "github.com/elves/elvish";
@@ -12,17 +12,22 @@ buildGoPackage rec {
1212 '';
1313
1414 src = fetchFromGitHub {
15− repo = "elvish";
1615 owner = "elves";
17− rev = version;
16+ repo = pname;
17+ rev = "v${version}";
1818 sha256 = "1vvbgkpnrnb5aaak4ks45wl0cyp0vbry8bpxl6v2dpmq9x0bscpp";
1919 };
2020
2121 meta = with stdenv.lib; {
22− description = "A friendly and expressive Unix shell";
22+ description = "A friendly and expressive command shell";
23+ longDescription = ''
24+ Elvish is a friendly interactive shell and an expressive programming
25+ language. It runs on Linux, BSDs, macOS and Windows. Despite its pre-1.0
26+ status, it is already suitable for most daily interactive use.
27+ '';
2328 homepage = https://elv.sh/;
2429 license = licenses.bsd2;
25− maintainers = with maintainers; [ vrthra ];
30+ maintainers = with maintainers; [ vrthra AndersonTorres ];
2631 platforms = with platforms; linux ++ darwin;
2732 };
2833