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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
{
appstream,
blueprint-compiler,
desktop-file-utils,
fetchFromGitHub,
gnome,
gnome-desktop,
gobject-introspection,
lib,
libadwaita,
libportal-gtk4,
meson,
ninja,
python3Packages,
stdenv,
totem-pl-parser,
wrapGAppsHook4,
nix-update-script,
}:
stdenv.mkDerivation {
pname = "hyperplane";
version = "unstable-2023-12-17";
src = fetchFromGitHub {
owner = "kra-mo";
repo = "hyperplane";
rev = "f348c56e813083bcfb9ee993ad263c3f0068742e";
hash = "sha256-cLgK7fnOXqNFvnS2Jl9EqRGhX5omw8R/1EJ6/1BEUYc=";
};
pythonPath = with python3Packages; [
pygobject3
];
buildInputs = [
gnome-desktop
libadwaita
libportal-gtk4
gnome.totem
totem-pl-parser
python3Packages.python
];
nativeBuildInputs = [
appstream
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
python3Packages.wrapPython
wrapGAppsHook4
];
dontWrapGApps = true;
postFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
wrapPythonPrograms "$out/bin" "$out" "$pythonPath"
'';
passthru = {
updateScript = nix-update-script {
extraArgs = ["--version=branch"];
};
};
meta = with lib; {
description = "A non-hierarchical file manager";
homepage = "https://github.com/kra-mo/hyperplane";
license = licenses.gpl3Plus;
maintainers = [maintainers.getchoo];
platforms = platforms.linux;
};
}
|