tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
thumbdrives: init at 0.3.1
Chuang Zhu
3 years ago
02590ae0
6b867596
+64
2 changed files
expand all
collapse all
unified
split
pkgs
applications
system
thumbdrives
default.nix
top-level
all-packages.nix
+62
pkgs/applications/system/thumbdrives/default.nix
···
1
1
+
{ lib
2
2
+
, python3
3
3
+
, fetchFromSourcehut
4
4
+
, gtk3
5
5
+
, libhandy_0
6
6
+
, gobject-introspection
7
7
+
, meson
8
8
+
, pkg-config
9
9
+
, ninja
10
10
+
, gettext
11
11
+
, glib
12
12
+
, desktop-file-utils
13
13
+
, wrapGAppsHook
14
14
+
}:
15
15
+
16
16
+
python3.pkgs.buildPythonApplication rec {
17
17
+
pname = "thumbdrives";
18
18
+
version = "0.3.1";
19
19
+
20
20
+
format = "other";
21
21
+
22
22
+
src = fetchFromSourcehut {
23
23
+
owner = "~martijnbraam";
24
24
+
repo = pname;
25
25
+
rev = version;
26
26
+
sha256 = "sha256-CPZKswbvsG61A6J512FOCKAntoJ0sUb2s+MKb0rO+Xw=";
27
27
+
};
28
28
+
29
29
+
postPatch = ''
30
30
+
patchShebangs build-aux/meson
31
31
+
'';
32
32
+
33
33
+
nativeBuildInputs = [
34
34
+
meson
35
35
+
pkg-config
36
36
+
ninja
37
37
+
gettext
38
38
+
glib
39
39
+
gtk3
40
40
+
desktop-file-utils
41
41
+
wrapGAppsHook
42
42
+
gobject-introspection
43
43
+
];
44
44
+
45
45
+
buildInputs = [
46
46
+
gtk3
47
47
+
libhandy_0
48
48
+
];
49
49
+
50
50
+
propagatedBuildInputs = with python3.pkgs; [
51
51
+
pygobject3
52
52
+
pyxdg
53
53
+
];
54
54
+
55
55
+
meta = with lib; {
56
56
+
description = "USB mass storage emulator for Linux handhelds";
57
57
+
homepage = "https://sr.ht/~martijnbraam/thumbdrives/";
58
58
+
license = licenses.mit;
59
59
+
maintainers = with maintainers; [ chuangzhu ];
60
60
+
platforms = platforms.linux;
61
61
+
};
62
62
+
}
+2
pkgs/top-level/all-packages.nix
···
12040
12040
12041
12041
threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { };
12042
12042
12043
12043
+
thumbdrives = callPackage ../applications/system/thumbdrives { };
12044
12044
+
12043
12045
tidy-viewer = callPackage ../tools/text/tidy-viewer { };
12044
12046
12045
12047
tiled = libsForQt5.callPackage ../applications/editors/tiled { };