blob: ea4d4521258ee2221947e32ea13f3e191ea6d3fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ buildPythonApplication
, lib
, fetchgit
, makeWrapper
, pygobject3
, gtk3
, gobject-introspection
}:
buildPythonApplication {
pname = "saneterm";
version = "git";
src = fetchgit {
url = "git://git.8pit.net/saneterm.git";
rev = "e91ae2bddafa0301e4a6265505ac14875e79d2c8";
sha256 = "1ddknh7hrygzw7w2y314f9anyrqdrrc7z52ia8s9a6wbn0x4zkln";
};
nativeBuildInputs = [
makeWrapper
];
propagatedBuildInputs = [
pygobject3
];
buildInputs = [
gtk3
gobject-introspection
];
checkInputs = [
gobject-introspection # need the setup hook here as well
];
postInstall = ''
wrapProgram "$out/bin/saneterm" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--prefix LD_LIBRARY_PATH ":" "${lib.getLib gtk3}/lib"
'';
meta = {
description = "Modern line-oriented terminal emulator without support for TUIs";
homepage = "https://git.8pit.net/saneterm/";
license = lib.licenses.gpl3Only;
};
}
|