tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge remote-tracking branch 'origin/master' into staging-next
K900
11 months ago
a1c5ba6f
a4bcd7a2
+210
-196
13 changed files
expand all
collapse all
unified
split
maintainers
maintainer-list.nix
nixos
modules
services
desktops
flatpak.nix
pkgs
by-name
fl
flatpak
fix-paths.patch
package.nix
respect-xml-catalog-files-var.patch
gi
github-backup
package.nix
go
godotpcktool
package.nix
jj
jjui
package.nix
p1
p11-kit
package.nix
st
storj-uplink
package.nix
development
python-modules
mat2
default.nix
kde
gear
kdialog
default.nix
servers
home-assistant
custom-lovelace-modules
universal-remote-card
package.nix
+6
maintainers/maintainer-list.nix
···
1295
1295
githubId = 153175;
1296
1296
name = "Andrew Marshall";
1297
1297
};
1298
1298
+
ambossmann = {
1299
1299
+
email = "timogottszky+git@gmail.com";
1300
1300
+
github = "Ambossmann";
1301
1301
+
githubId = 68373395;
1302
1302
+
name = "Timo Gottszky";
1303
1303
+
};
1298
1304
ambroisie = {
1299
1305
email = "bruno.nixpkgs@belanyi.fr";
1300
1306
github = "ambroisie";
+16
-5
nixos/modules/services/desktops/flatpak.nix
···
1
1
# flatpak service.
2
2
-
{ config, lib, pkgs, ... }:
2
2
+
{
3
3
+
config,
4
4
+
lib,
5
5
+
pkgs,
6
6
+
...
7
7
+
}:
8
8
+
3
9
let
4
10
cfg = config.services.flatpak;
5
5
-
in {
11
11
+
in
12
12
+
13
13
+
{
6
14
meta = {
7
15
doc = ./flatpak.md;
8
16
maintainers = pkgs.flatpak.meta.maintainers;
···
17
25
};
18
26
};
19
27
20
20
-
21
28
###### implementation
22
29
config = lib.mkIf cfg.enable {
23
30
24
31
assertions = [
25
25
-
{ assertion = (config.xdg.portal.enable == true);
32
32
+
{
33
33
+
assertion = (config.xdg.portal.enable == true);
26
34
message = "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable.";
27
35
}
28
36
];
29
37
30
30
-
environment.systemPackages = [ cfg.package ];
38
38
+
environment.systemPackages = [
39
39
+
cfg.package
40
40
+
pkgs.fuse3
41
41
+
];
31
42
32
43
security.polkit.enable = true;
33
44
+7
-6
pkgs/by-name/fl/flatpak/fix-paths.patch
···
1
1
diff --git a/session-helper/flatpak-session-helper.c b/session-helper/flatpak-session-helper.c
2
2
-
index 5dd7629e..ddc71a4c 100644
2
2
+
index 31e94384..2c297551 100644
3
3
--- a/session-helper/flatpak-session-helper.c
4
4
+++ b/session-helper/flatpak-session-helper.c
5
5
-
@@ -693,7 +693,7 @@ start_p11_kit_server (const char *flatpak_dir)
5
5
+
@@ -698,7 +698,7 @@ start_p11_kit_server (const char *flatpak_dir)
6
6
g_auto(GStrv) stdout_lines = NULL;
7
7
int i;
8
8
-
char *p11_argv[] = {
8
8
+
const char * const p11_argv[] = {
9
9
- "p11-kit", "server",
10
10
+ "@p11kit@", "server",
11
11
/* We explicitly request --sh here, because we then fail on earlier versions that doesn't support
12
12
* this flag. This is good, because those earlier versions did not properly daemonize and caused
13
13
* the spawn_sync to hang forever, waiting for the pipe to close.
14
14
-
@@ -836,7 +836,7 @@ main (int argc,
14
14
+
@@ -852,8 +852,7 @@ main (int argc,
15
15
exit (1);
16
16
}
17
17
18
18
-
- if (g_find_program_in_path ("p11-kit"))
18
18
+
- pk11_program = g_find_program_in_path ("p11-kit");
19
19
+
- if (pk11_program)
19
20
+ if (TRUE)
20
21
start_p11_kit_server (flatpak_dir);
21
22
else
22
22
-
g_debug ("p11-kit not found");
23
23
+
g_info ("p11-kit not found");
+121
-139
pkgs/by-name/fl/flatpak/package.nix
···
1
1
{
2
2
lib,
3
3
stdenv,
4
4
-
fetchurl,
5
5
-
fetchpatch,
6
6
-
runCommand,
7
4
appstream,
8
8
-
autoreconfHook,
9
5
bison,
10
6
bubblewrap,
11
11
-
buildPackages,
12
7
bzip2,
13
8
coreutils,
14
9
curl,
15
15
-
dbus,
16
10
dconf,
17
11
desktop-file-utils,
18
18
-
docbook_xml_dtd_45,
19
12
docbook-xsl-nons,
13
13
+
docbook_xml_dtd_45,
14
14
+
fetchurl,
20
15
fuse3,
16
16
+
gdk-pixbuf,
21
17
gettext,
22
18
glib,
23
19
glib-networking,
24
20
gobject-introspection,
25
21
gpgme,
26
22
gsettings-desktop-schemas,
27
27
-
gtk3,
28
23
gtk-doc,
24
24
+
gtk3,
29
25
hicolor-icon-theme,
30
30
-
intltool,
31
26
json-glib,
32
27
libarchive,
33
28
libcap,
···
35
30
libseccomp,
36
31
libxml2,
37
32
libxslt,
33
33
+
malcontent,
34
34
+
meson,
35
35
+
ninja,
38
36
nix-update-script,
39
39
-
nixosTests,
40
37
nixos-icons,
41
38
ostree,
42
39
p11-kit,
43
40
pkg-config,
44
41
polkit,
45
45
-
pkgsCross,
46
42
python3,
43
43
+
runCommand,
47
44
shared-mime-info,
48
45
socat,
49
46
replaceVars,
50
47
systemd,
51
48
testers,
52
49
valgrind,
53
53
-
which,
50
50
+
validatePkgConfig,
51
51
+
wayland,
52
52
+
wayland-protocols,
53
53
+
wayland-scanner,
54
54
wrapGAppsNoGuiHook,
55
55
xdg-dbus-proxy,
56
56
xmlto,
57
57
xorg,
58
58
-
xz,
59
58
zstd,
59
59
+
withAutoSideloading ? false,
60
60
+
withDocbookDocs ? true,
60
61
withGtkDoc ? stdenv.buildPlatform.canExecute stdenv.hostPlatform,
62
62
+
withMan ? true,
63
63
+
withSELinuxModule ? false,
64
64
+
withSystemd ? true,
61
65
}:
62
66
63
67
stdenv.mkDerivation (finalAttrs: {
64
68
pname = "flatpak";
65
65
-
version = "1.14.10";
69
69
+
version = "1.16.0";
66
70
67
71
# TODO: split out lib once we figure out what to do with triggerdir
68
68
-
outputs = [
69
69
-
"out"
70
70
-
"dev"
71
71
-
"man"
72
72
-
"doc"
73
73
-
"devdoc"
74
74
-
"installedTests"
75
75
-
];
76
76
-
77
77
-
separateDebugInfo = true;
72
72
+
outputs =
73
73
+
[
74
74
+
"out"
75
75
+
"dev"
76
76
+
]
77
77
+
++ lib.optionals (withDocbookDocs || withGtkDoc) [
78
78
+
"devdoc"
79
79
+
"doc"
80
80
+
]
81
81
+
++ lib.optional finalAttrs.doCheck "installedTests"
82
82
+
++ lib.optional withMan "man";
78
83
79
84
src = fetchurl {
80
85
url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz";
81
81
-
hash = "sha256-a73HkIEnNQrYWkpH1wKSyi9MRul3sysf0jHCpxnYIc0=";
86
86
+
hash = "sha256-ywrFZa3LYhJ8bRHtUO5wRNaoNvppw1Sy9LZAoiv6Syo=";
82
87
};
83
88
84
89
patches = [
···
88
93
inherit
89
94
coreutils
90
95
gettext
91
91
-
socat
92
96
gtk3
97
97
+
socat
93
98
;
94
94
-
smi = shared-mime-info;
95
99
dfu = desktop-file-utils;
96
100
hicolorIconTheme = hicolor-icon-theme;
101
101
+
smi = shared-mime-info;
97
102
})
98
103
99
104
# Hardcode paths used by Flatpak itself.
100
105
(replaceVars ./fix-paths.patch {
101
101
-
p11kit = "${p11-kit.bin}/bin/p11-kit";
106
106
+
p11kit = lib.getExe p11-kit;
102
107
})
103
108
104
104
-
# Allow gtk-doc to find schemas using XML_CATALOG_FILES environment variable.
105
105
-
# Patch taken from gtk-doc expression.
106
106
-
./respect-xml-catalog-files-var.patch
107
107
-
108
108
-
# Nix environment hacks should not leak into the apps.
109
109
-
# https://github.com/NixOS/nixpkgs/issues/53441
110
110
-
./unset-env-vars.patch
111
111
-
112
109
# Use flatpak from PATH to avoid references to `/nix/store` in `/desktop` files.
113
110
# Applications containing `DBusActivatable` entries should be able to find the flatpak binary.
114
111
# https://github.com/NixOS/nixpkgs/issues/138956
115
112
./binary-path.patch
116
113
117
117
-
# The icon validator needs to access the gdk-pixbuf loaders in the Nix store
118
118
-
# and cannot bind FHS paths since those are not available on NixOS.
119
119
-
finalAttrs.passthru.icon-validator-patch
120
120
-
121
114
# Try mounting fonts and icons from NixOS locations if FHS locations don't exist.
122
115
# https://github.com/NixOS/nixpkgs/issues/119433
123
116
./fix-fonts-icons.patch
124
117
125
125
-
# TODO: Remove when updating to 1.16
126
126
-
# Ensure flatpak uses the system's zoneinfo from $TZDIR
127
127
-
# https://github.com/NixOS/nixpkgs/issues/238386
128
128
-
(fetchpatch {
129
129
-
url = "https://github.com/flatpak/flatpak/pull/5850/commits/a8a35bf4d9fc3d76e1a5049a6a591faec04a42fd.patch";
130
130
-
hash = "sha256-JqkPbnzgZNZq/mplZqohhHFdjRrvYFjE4C02pI3feBo=";
131
131
-
})
132
132
-
(fetchpatch {
133
133
-
url = "https://github.com/flatpak/flatpak/pull/5850/commits/5ea13b09612215559081c27b60df4fb720cb08d5.patch";
134
134
-
hash = "sha256-BWbyQ2en3RtN4Ec5n62CULAhvywlQLhcl3Fmd4fsR1s=";
135
135
-
})
136
136
-
(fetchpatch {
137
137
-
url = "https://github.com/flatpak/flatpak/pull/5850/commits/7c8a81f08908019bbf69358de199748a9bcb29e3.patch";
138
138
-
hash = "sha256-RiG2jPmG+Igskxv8oQquOUYsG4srgdMXWe34ojMXslo=";
139
139
-
})
140
140
-
];
118
118
+
# Nix environment hacks should not leak into the apps.
119
119
+
# https://github.com/NixOS/nixpkgs/issues/53441
120
120
+
./unset-env-vars.patch
141
121
142
142
-
nativeBuildInputs = [
143
143
-
autoreconfHook
144
144
-
libxml2
145
145
-
docbook_xml_dtd_45
146
146
-
docbook-xsl-nons
147
147
-
which
148
148
-
gobject-introspection
149
149
-
gtk-doc
150
150
-
intltool
151
151
-
libxslt
152
152
-
pkg-config
153
153
-
xmlto
154
154
-
bison
155
155
-
wrapGAppsNoGuiHook
122
122
+
# The icon validator needs to access the gdk-pixbuf loaders in the Nix store
123
123
+
# and cannot bind FHS paths since those are not available on NixOS.
124
124
+
finalAttrs.passthru.icon-validator-patch
156
125
];
157
126
158
158
-
buildInputs = [
159
159
-
appstream
160
160
-
bubblewrap
161
161
-
bzip2
162
162
-
curl
163
163
-
dbus
164
164
-
dconf
165
165
-
gpgme
166
166
-
json-glib
167
167
-
libarchive
168
168
-
libcap
169
169
-
libseccomp
170
170
-
libxml2
171
171
-
xz
172
172
-
zstd
173
173
-
polkit
174
174
-
python3
175
175
-
systemd
176
176
-
xorg.libXau
177
177
-
fuse3
178
178
-
gsettings-desktop-schemas
179
179
-
glib-networking
180
180
-
librsvg # for flatpak-validate-icon
181
181
-
] ++ lib.optionals withGtkDoc [ gtk-doc ];
127
127
+
# Fixup shebangs in some scripts
128
128
+
#
129
129
+
# Don't prefix the already absolute `man` directory with the install prefix
130
130
+
postPatch = ''
131
131
+
patchShebangs buildutil/ tests/
132
132
+
patchShebangs --build subprojects/variant-schema-compiler/variant-schema-compiler
133
133
+
134
134
+
substituteInPlace doc/meson.build \
135
135
+
--replace-fail '$MESON_INSTALL_DESTDIR_PREFIX/@1@/@2@' '@1@/@2@'
136
136
+
'';
137
137
+
138
138
+
strictDeps = true;
139
139
+
140
140
+
nativeBuildInputs =
141
141
+
[
142
142
+
(python3.pythonOnBuildForHost.withPackages (p: [ p.pyparsing ]))
143
143
+
bison
144
144
+
gobject-introspection
145
145
+
meson
146
146
+
ninja
147
147
+
pkg-config
148
148
+
validatePkgConfig
149
149
+
wrapGAppsNoGuiHook
150
150
+
]
151
151
+
++ lib.optional withGtkDoc gtk-doc
152
152
+
++ lib.optional withMan libxslt
153
153
+
++ lib.optional withSELinuxModule bzip2
154
154
+
++ lib.optionals withDocbookDocs [
155
155
+
docbook-xsl-nons
156
156
+
docbook_xml_dtd_45
157
157
+
xmlto
158
158
+
];
159
159
+
160
160
+
buildInputs =
161
161
+
[
162
162
+
appstream
163
163
+
curl
164
164
+
dconf
165
165
+
fuse3
166
166
+
gdk-pixbuf
167
167
+
glib-networking
168
168
+
gpgme
169
169
+
gsettings-desktop-schemas
170
170
+
json-glib
171
171
+
libarchive
172
172
+
libcap
173
173
+
librsvg # for flatpak-validate-icon
174
174
+
libseccomp
175
175
+
libxml2
176
176
+
malcontent
177
177
+
polkit
178
178
+
python3
179
179
+
wayland
180
180
+
wayland-protocols
181
181
+
wayland-scanner
182
182
+
xorg.libXau
183
183
+
zstd
184
184
+
]
185
185
+
++ lib.optional withGtkDoc gtk-doc
186
186
+
++ lib.optional withSystemd systemd;
182
187
183
188
# Required by flatpak.pc
184
189
propagatedBuildInputs = [
···
186
191
ostree
187
192
];
188
193
189
189
-
nativeCheckInputs = [ valgrind ];
190
190
-
191
191
-
# TODO: some issues with temporary files
192
192
-
doCheck = false;
193
193
-
strictDeps = true;
194
194
-
195
195
-
NIX_LDFLAGS = "-lpthread";
196
196
-
197
197
-
enableParallelBuilding = true;
198
198
-
199
199
-
configureFlags = [
200
200
-
"--with-curl"
201
201
-
"--with-system-bubblewrap=${lib.getExe bubblewrap}"
202
202
-
"--with-system-dbus-proxy=${lib.getExe xdg-dbus-proxy}"
203
203
-
"--with-dbus-config-dir=${placeholder "out"}/share/dbus-1/system.d"
204
204
-
"--with-profile-dir=${placeholder "out"}/etc/profile.d"
205
205
-
"--localstatedir=/var"
206
206
-
"--sysconfdir=/etc"
207
207
-
"--enable-gtk-doc=${if withGtkDoc then "yes" else "no"}"
208
208
-
"--enable-installed-tests"
209
209
-
"--enable-selinux-module=no"
194
194
+
mesonFlags = [
195
195
+
(lib.mesonBool "auto_sideloading" withAutoSideloading)
196
196
+
(lib.mesonBool "installed_tests" finalAttrs.finalPackage.doCheck)
197
197
+
(lib.mesonBool "tests" finalAttrs.finalPackage.doCheck)
198
198
+
(lib.mesonEnable "selinux_module" withSELinuxModule)
199
199
+
(lib.mesonOption "dbus_config_dir" (placeholder "out" + "/share/dbus-1/system.d"))
200
200
+
(lib.mesonOption "profile_dir" (placeholder "out" + "/etc/profile.d"))
201
201
+
(lib.mesonOption "system_bubblewrap" (lib.getExe bubblewrap))
202
202
+
(lib.mesonOption "system_dbus_proxy" (lib.getExe xdg-dbus-proxy))
203
203
+
(lib.mesonOption "system_fusermount" "/run/wrappers/bin/fusermount3")
204
204
+
(lib.mesonOption "system_install_dir" "/var/lib/flatpak")
210
205
];
211
206
212
212
-
makeFlags = [
213
213
-
"installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/flatpak"
214
214
-
"installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/flatpak"
207
207
+
nativeCheckInputs = [
208
208
+
polkit
209
209
+
socat
210
210
+
valgrind
215
211
];
216
212
217
217
-
postPatch =
218
218
-
let
219
219
-
vsc-py = python3.pythonOnBuildForHost.withPackages (pp: [ pp.pyparsing ]);
220
220
-
in
221
221
-
''
222
222
-
patchShebangs buildutil
223
223
-
patchShebangs tests
224
224
-
PATH=${lib.makeBinPath [ vsc-py ]}:$PATH patchShebangs --build subprojects/variant-schema-compiler/variant-schema-compiler
213
213
+
# TODO: Many issues with temporary files, FHS environments, timeouts, and our current patches
214
214
+
doCheck = false;
225
215
226
226
-
substituteInPlace configure.ac \
227
227
-
--replace-fail '$BWRAP --' ${
228
228
-
lib.escapeShellArg (stdenv.hostPlatform.emulator buildPackages + " $BWRAP --")
229
229
-
} \
230
230
-
--replace-fail '$DBUS_PROXY --' ${
231
231
-
lib.escapeShellArg (stdenv.hostPlatform.emulator buildPackages + " $DBUS_PROXY --")
232
232
-
}
233
233
-
'';
216
216
+
separateDebugInfo = true;
234
217
235
218
passthru = {
236
219
icon-validator-patch = replaceVars ./fix-icon-validation.patch {
237
220
inherit (builtins) storeDir;
238
221
};
239
222
240
240
-
updateScript = nix-update-script { };
241
241
-
242
223
tests = {
243
243
-
cross = pkgsCross.aarch64-multiplatform.flatpak;
244
244
-
245
245
-
installedTests = nixosTests.installed-tests.flatpak;
224
224
+
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
246
225
247
226
validate-icon = runCommand "test-icon-validation" { } ''
248
227
${finalAttrs.finalPackage}/libexec/flatpak-validate-icon \
···
254
233
255
234
version = testers.testVersion { package = finalAttrs.finalPackage; };
256
235
};
236
236
+
237
237
+
updateScript = nix-update-script { };
257
238
};
258
239
259
240
meta = {
···
264
245
maintainers = with lib.maintainers; [ getchoo ];
265
246
mainProgram = "flatpak";
266
247
platforms = lib.platforms.linux;
248
248
+
pkgConfigModules = [ "flatpak" ];
267
249
};
268
250
})
-15
pkgs/by-name/fl/flatpak/respect-xml-catalog-files-var.patch
···
1
1
-
diff --git a/acinclude.m4 b/acinclude.m4
2
2
-
index 92ec3985..b3fccf1d 100644
3
3
-
--- a/acinclude.m4
4
4
-
+++ b/acinclude.m4
5
5
-
@@ -40,8 +40,8 @@ AC_DEFUN([JH_CHECK_XML_CATALOG],
6
6
-
[
7
7
-
AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
8
8
-
AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
9
9
-
- if $jh_found_xmlcatalog && \
10
10
-
- AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
11
11
-
+ # empty argument forces libxml to use XML_CATALOG_FILES variable
12
12
-
+ if AC_RUN_LOG([$XMLCATALOG --noout "" "$1" >&2]); then
13
13
-
AC_MSG_RESULT([found])
14
14
-
ifelse([$3],,,[$3
15
15
-
])dnl
+2
-2
pkgs/by-name/gi/github-backup/package.nix
···
8
8
9
9
python3Packages.buildPythonApplication rec {
10
10
pname = "github-backup";
11
11
-
version = "0.48.0";
11
11
+
version = "0.49.0";
12
12
pyproject = true;
13
13
14
14
src = fetchFromGitHub {
15
15
owner = "josegonzalez";
16
16
repo = "python-github-backup";
17
17
tag = version;
18
18
-
hash = "sha256-vJD+dzKHYgiDme+wXklbxkbOPKwbilOWfJknsS37+vw=";
18
18
+
hash = "sha256-RoRRuFXgykifdpcq3uBAARc54YTfzn0NiGcGkwcmcbc=";
19
19
};
20
20
21
21
build-system = with python3Packages; [
+34
pkgs/by-name/go/godotpcktool/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitHub,
5
5
+
nix-update-script,
6
6
+
cmake,
7
7
+
}:
8
8
+
stdenv.mkDerivation (finalAttrs: {
9
9
+
pname = "godotpcktool";
10
10
+
version = "2.1";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "hhyyrylainen";
14
14
+
repo = "GodotPckTool";
15
15
+
tag = "v${finalAttrs.version}";
16
16
+
hash = "sha256-jQ6LypQEz7r04lS4Zmu0EvpV/IYM79pmUlaykVUd+po=";
17
17
+
fetchSubmodules = true;
18
18
+
};
19
19
+
20
20
+
nativeBuildInputs = [
21
21
+
cmake
22
22
+
];
23
23
+
24
24
+
passthru.updateScript = nix-update-script { };
25
25
+
26
26
+
meta = {
27
27
+
description = "Standalone tool for extracting and creating Godot .pck files";
28
28
+
homepage = "https://github.com/hhyyrylainen/GodotPckTool";
29
29
+
license = lib.licenses.mit;
30
30
+
maintainers = with lib.maintainers; [ ambossmann ];
31
31
+
mainProgram = "godotpcktool";
32
32
+
platforms = lib.platforms.linux;
33
33
+
};
34
34
+
})
+3
-3
pkgs/by-name/jj/jjui/package.nix
···
6
6
}:
7
7
buildGoModule rec {
8
8
pname = "jjui";
9
9
-
version = "0.2";
9
9
+
version = "0.3";
10
10
11
11
src = fetchFromGitHub {
12
12
owner = "idursun";
13
13
repo = "jjui";
14
14
tag = "v${version}";
15
15
-
hash = "sha256-V2HwVpZ7K7mYoZECOc+dfXuvBlRsN5OgRHasdpX+kFw=";
15
15
+
hash = "sha256-J6Bw7/OtKuQ28gUxc7h+gdKmt98TmNqj5XZ6kLzvg3o=";
16
16
};
17
17
18
18
-
vendorHash = "sha256-pzbOFXSlEebc4fCyNyQSdeVqar+HfEjsSyJo+mHkQeg=";
18
18
+
vendorHash = "sha256-czUD0+1ZJJBpp+vYYEBBuWro6InokiPriKFyKvLSGD0=";
19
19
20
20
postFixup = ''
21
21
mv $out/bin/cmd $out/bin/jjui
+1
pkgs/by-name/p1/p11-kit/package.nix
···
96
96
];
97
97
platforms = platforms.all;
98
98
license = licenses.bsd3;
99
99
+
mainProgram = "p11-kit";
99
100
};
100
101
}
+3
-3
pkgs/by-name/st/storj-uplink/package.nix
···
6
6
7
7
buildGoModule rec {
8
8
pname = "storj-uplink";
9
9
-
version = "1.120.4";
9
9
+
version = "1.121.3";
10
10
11
11
src = fetchFromGitHub {
12
12
owner = "storj";
13
13
repo = "storj";
14
14
rev = "v${version}";
15
15
-
hash = "sha256-Ze3eQCySw3S6sKXwJCW6M+UV1FWp47syCWxIQdKttOs=";
15
15
+
hash = "sha256-Q/iQUgXeYvGDBuVL8hhHU7SK+sNVQtXCDBoRYFO+N9Y=";
16
16
};
17
17
18
18
subPackages = [ "cmd/uplink" ];
19
19
20
20
-
vendorHash = "sha256-kLXrKFJ/g2xenYTZ13loaZ7XAgRhmo2Iwen7P4esBIs=";
20
20
+
vendorHash = "sha256-XgHTzE982POxbCzlfSt05y+h8DJb/3fiFV5l/Fu8vGg=";
21
21
22
22
ldflags = [
23
23
"-s"
+13
-20
pkgs/development/python-modules/mat2/default.nix
···
3
3
stdenv,
4
4
buildPythonPackage,
5
5
pytestCheckHook,
6
6
-
pythonOlder,
7
6
fetchFromGitLab,
8
7
replaceVars,
9
8
bubblewrap,
10
9
exiftool,
11
10
ffmpeg,
11
11
+
setuptools,
12
12
wrapGAppsHook3,
13
13
gdk-pixbuf,
14
14
gobject-introspection,
···
18
18
pygobject3,
19
19
pycairo,
20
20
dolphinIntegration ? false,
21
21
-
plasma5Packages,
21
21
+
kdePackages,
22
22
}:
23
23
24
24
buildPythonPackage rec {
25
25
pname = "mat2";
26
26
-
version = "0.13.4";
27
27
-
28
28
-
disabled = pythonOlder "3.5";
29
29
-
30
30
-
format = "setuptools";
26
26
+
version = "0.13.5";
27
27
+
pyproject = true;
31
28
32
29
src = fetchFromGitLab {
33
30
domain = "0xacab.org";
34
31
owner = "jvoisin";
35
32
repo = "mat2";
36
36
-
rev = version;
37
37
-
hash = "sha256-SuN62JjSb5O8gInvBH+elqv/Oe7j+xjCo+dmPBU7jEY=";
33
33
+
tag = version;
34
34
+
hash = "sha256-ivFgH/88DBucZRaO/OMsLlwJCjv/VQXb6AiKWhZ8XH0=";
38
35
};
39
36
40
37
patches =
41
38
[
42
39
# hardcode paths to some binaries
43
40
(replaceVars ./paths.patch {
44
44
-
exiftool = "${exiftool}/bin/exiftool";
45
45
-
ffmpeg = "${ffmpeg}/bin/ffmpeg";
46
46
-
kdialog = if dolphinIntegration then "${plasma5Packages.kdialog}/bin/kdialog" else null;
41
41
+
exiftool = lib.getExe exiftool;
42
42
+
ffmpeg = lib.getExe ffmpeg;
43
43
+
kdialog = if dolphinIntegration then lib.getExe kdePackages.kdialog else null;
47
44
# replaced in postPatch
48
45
mat2 = null;
49
46
mat2svg = null;
···
55
52
]
56
53
++ lib.optionals (stdenv.hostPlatform.isLinux) [
57
54
(replaceVars ./bubblewrap-path.patch {
58
58
-
bwrap = "${bubblewrap}/bin/bwrap";
55
55
+
bwrap = lib.getExe bubblewrap;
59
56
})
60
57
];
61
58
62
59
postPatch = ''
63
63
-
rm pyproject.toml
64
60
substituteInPlace dolphin/mat2.desktop \
65
61
--replace "@mat2@" "$out/bin/mat2" \
66
62
--replace "@mat2svg@" "$out/share/icons/hicolor/scalable/apps/mat2.svg"
67
63
'';
68
64
65
65
+
build-system = [ setuptools ];
66
66
+
69
67
nativeBuildInputs = [
70
68
gobject-introspection
71
69
wrapGAppsHook3
···
77
75
poppler_gi
78
76
];
79
77
80
80
-
propagatedBuildInputs = [
78
78
+
dependencies = [
81
79
mutagen
82
80
pygobject3
83
81
pycairo
···
93
91
'';
94
92
95
93
nativeCheckInputs = [ pytestCheckHook ];
96
96
-
97
97
-
disabledTests = [
98
98
-
# libmat2.pdf.cairo.MemoryError: out of memory
99
99
-
"test_all"
100
100
-
];
101
94
102
95
meta = with lib; {
103
96
description = "Handy tool to trash your metadata";
+1
pkgs/kde/gear/kdialog/default.nix
···
1
1
{ mkKdeDerivation }:
2
2
mkKdeDerivation {
3
3
pname = "kdialog";
4
4
+
meta.mainProgram = "kdialog";
4
5
}
+3
-3
pkgs/servers/home-assistant/custom-lovelace-modules/universal-remote-card/package.nix
···
6
6
7
7
buildNpmPackage rec {
8
8
pname = "universal-remote-card";
9
9
-
version = "4.3.7";
9
9
+
version = "4.3.8";
10
10
11
11
src = fetchFromGitHub {
12
12
owner = "Nerwyn";
13
13
repo = "android-tv-card";
14
14
rev = version;
15
15
-
hash = "sha256-UIQZT1fzZvBHpFRsj508F2pyCQAt0vLMSj1H5qwRBXc=";
15
15
+
hash = "sha256-fu+0O5WXzsy/HN2j7M2zBg8YgPUcSuzeOhOf1akATes=";
16
16
};
17
17
18
18
patches = [ ./dont-call-git.patch ];
19
19
20
20
-
npmDepsHash = "sha256-BV00u+/OvC3dmz7BvqygSUuwf+jsfuKNZDOO6d5nATk=";
20
20
+
npmDepsHash = "sha256-AwJmFsVFOV6rapnLm9Y660TFiX9HIOIU4049EIyWWuM=";
21
21
22
22
installPhase = ''
23
23
runHook preInstall