git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #16329 from vrthra/elvish

elvish: init at 0.1

commit045cd10e77bd1e09d153e77d290ed5102c72ca70 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSat 25 Jun 2016, 13:40 (10 years ago) parent5f5da9b293d23a
4 files changed+44
pkgs/development/go-modules/libs.json+9 pkgs/shells/elvish/default.nix+24 pkgs/shells/elvish/deps.json+9 pkgs/top-level/all-packages.nix+2
pkgs/development/go-modules/libs.json+9
@@ -1,4 +1,13 @@
11[
2+ {
3+ "goPackagePath": "github.com/elves/getopt",
4+ "fetch": {
5+ "type": "git",
6+ "url": "https://github.com/elves/getopt",
7+ "rev": "f91a7bf920995832d55a1182f26657bc975b9c24",
8+ "sha256": "0wz5dz0iq1b1c2w30mmcgll9xidsrnlvs2906jw9szy0h67310za"
9+ }
10+ },
211 {
312 "goPackagePath": "golang.org/x/sys",
413 "fetch": {
pkgs/shells/elvish/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ name = "elvish-${version}";
5+ version = "0.1";
6+
7+ goPackagePath = "github.com/elves/elvish";
8+
9+ src = fetchFromGitHub {
10+ repo = "elvish";
11+ owner = "elves";
12+ rev = "4125c2bb927330b0100b354817dd4ad252118ba6";
13+ sha256 = "1xwhjbw0y6j5xy19hz39456l0v6vjg2icd7c1jx4h1cydk3yn39f";
14+ };
15+
16+ goDeps = ./deps.json;
17+
18+ meta = with stdenv.lib; {
19+ description = "A Novel unix shell in go language";
20+ homepage = https://github.com/elves/elvish;
21+ license = licenses.bsd2;
22+ maintainers = with maintainers; [ vrthra ];
23+ };
24+}
pkgs/shells/elvish/deps.jsonnew file+9
@@ -0,0 +1,9 @@
1+[
2+ {
3+ "include": "../../libs.json",
4+ "packages": [
5+ "github.com/mattn/go-sqlite3",
6+ "github.com/elves/getopt"
7+ ]
8+ }
9+]
pkgs/top-level/all-packages.nix+2
@@ -473,6 +473,8 @@ in
473473
474474 djmount = callPackage ../tools/filesystems/djmount { };
475475
476+ elvish = callPackage ../shells/elvish { };
477+
476478 grc = callPackage ../tools/misc/grc { };
477479
478480 green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {