tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hecate: init at 0.0.1
Ram Kromberg
9 years ago
fd02ff7c
a70e11ad
+57
3 changed files
expand all
collapse all
unified
split
pkgs
applications
editors
hecate
default.nix
deps.nix
top-level
all-packages.nix
+26
pkgs/applications/editors/hecate/default.nix
···
1
1
+
{ stdenv, buildGoPackage, fetchFromGitHub }:
2
2
+
3
3
+
buildGoPackage rec {
4
4
+
version = "0.0.1";
5
5
+
name = "hecate-${version}";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "evanmiller";
9
9
+
repo = "hecate";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "0ymirsd06z3qa9wi59k696mg8f4mhscw8gc5c5zkd0n3n8s0k0z8";
12
12
+
};
13
13
+
14
14
+
goPackagePath = "hecate";
15
15
+
16
16
+
goDeps = ./deps.nix;
17
17
+
18
18
+
meta = with stdenv.lib; {
19
19
+
inherit (src.meta) homepage;
20
20
+
description = "terminal hex editor";
21
21
+
longDescription = "The Hex Editor From Hell!";
22
22
+
license = with licenses; [ mit ];
23
23
+
maintainers = with maintainers; [ ramkromberg ];
24
24
+
platforms = with platforms; linux;
25
25
+
};
26
26
+
}
+29
pkgs/applications/editors/hecate/deps.nix
···
1
1
+
[
2
2
+
{
3
3
+
goPackagePath = "github.com/nsf/termbox-go";
4
4
+
fetch = {
5
5
+
type = "git";
6
6
+
url = "https://github.com/nsf/termbox-go";
7
7
+
rev = "b6acae516ace002cb8105a89024544a1480655a5";
8
8
+
sha256 = "0zf95qdd5bif9rw03hqk87x7d905p373bvsj0bl4gi16spqjbdil";
9
9
+
};
10
10
+
}
11
11
+
{
12
12
+
goPackagePath = "github.com/edsrzf/mmap-go";
13
13
+
fetch = {
14
14
+
type = "git";
15
15
+
url = "https://github.com/edsrzf/mmap-go";
16
16
+
rev = "935e0e8a636ca4ba70b713f3e38a19e1b77739e8";
17
17
+
sha256 = "11a63wrjwfnchjhwqjp6yd5j0370ysppjgv31l5bmvvwps7whq9d";
18
18
+
};
19
19
+
}
20
20
+
{
21
21
+
goPackagePath = "github.com/mattn/go-runewidth";
22
22
+
fetch = {
23
23
+
type = "git";
24
24
+
url = "https://github.com/mattn/go-runewidth";
25
25
+
rev = "737072b4e32b7a5018b4a7125da8d12de90e8045";
26
26
+
sha256 = "09ni8bmj6p2b774bdh6mfcxl03bh5sqk860z03xpb6hv6yfxqkjm";
27
27
+
};
28
28
+
}
29
29
+
]
+2
pkgs/top-level/all-packages.nix
···
2073
2073
inherit gfortran;
2074
2074
});
2075
2075
2076
2076
+
hecate = callPackage ../applications/editors/hecate { };
2077
2077
+
2076
2078
heimdall = callPackage ../tools/misc/heimdall { };
2077
2079
2078
2080
hevea = callPackage ../tools/typesetting/hevea { };