forked from mirrors/nixpkgs
elvish: init at 0.1
A novel unix shell written in go language.
This commit is contained in:
parent
20a8349d62
commit
293d23abb4
|
@ -1,4 +1,13 @@
|
|||
[
|
||||
{
|
||||
"goPackagePath": "github.com/elves/getopt",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/elves/getopt",
|
||||
"rev": "f91a7bf920995832d55a1182f26657bc975b9c24",
|
||||
"sha256": "0wz5dz0iq1b1c2w30mmcgll9xidsrnlvs2906jw9szy0h67310za"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "golang.org/x/sys",
|
||||
"fetch": {
|
||||
|
|
24
pkgs/shells/elvish/default.nix
Normal file
24
pkgs/shells/elvish/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ 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.json;
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
9
pkgs/shells/elvish/deps.json
Normal file
9
pkgs/shells/elvish/deps.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
[
|
||||
{
|
||||
"include": "../../libs.json",
|
||||
"packages": [
|
||||
"github.com/mattn/go-sqlite3",
|
||||
"github.com/elves/getopt"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -473,6 +473,8 @@ in
|
|||
|
||||
djmount = callPackage ../tools/filesystems/djmount { };
|
||||
|
||||
elvish = callPackage ../shells/elvish { };
|
||||
|
||||
grc = callPackage ../tools/misc/grc { };
|
||||
|
||||
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
|
||||
|
|
Loading…
Reference in a new issue