Skip to content

Commit 55d82ef

Browse files
authored
archivemount: 1 -> 1a (#367253)
2 parents 8075165 + a1454eb commit 55d82ef

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

pkgs/by-name/ar/archivemount/package.nix

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@
22
lib,
33
stdenv,
44
fetchFromSourcehut,
5-
fetchpatch,
65
pkg-config,
76
fuse,
87
libarchive,
98
}:
109

1110
stdenv.mkDerivation (finalAttrs: {
1211
pname = "archivemount";
13-
version = "1";
12+
version = "1a";
1413

1514
src = fetchFromSourcehut {
1615
owner = "~nabijaczleweli";
1716
repo = "archivemount-ng";
1817
rev = finalAttrs.version;
19-
hash = "sha256-xuLtbqC9iS86BKz4jG8of4id+GTlBXoohONrkmIzOpY=";
18+
hash = "sha256-XfWs8+vYCa9G9aPtXk/s5YYq/CHNOS7XDrGW7WpSWBQ=";
2019
};
2120

2221
nativeBuildInputs = [ pkg-config ];
@@ -32,23 +31,14 @@ stdenv.mkDerivation (finalAttrs: {
3231

3332
dontConfigure = true;
3433

35-
# Fix missing standard struct stat on Darwin
36-
# Already on upstream, but no new release made
37-
patches = [
38-
(fetchpatch {
39-
name = "fix-missing-standard-struct-stat-on-darwin.patch";
40-
url = "https://git.sr.ht/~nabijaczleweli/archivemount-ng/commit/53dd70f05fdb6ababe7c1ca70f0f62bcf4930b5a.patch";
41-
hash = "sha256-UqoALAJoNXihop6Mem4mu+W8REOV92Zyv7pPW20Ugz8=";
42-
})
43-
];
44-
4534
# Fix cross-compilation
4635
postPatch = ''
4736
substituteInPlace Makefile --replace-fail pkg-config "$PKG_CONFIG"
4837
'';
4938

5039
meta = {
5140
description = "Gateway between FUSE and libarchive: allows mounting of cpio, .tar.gz, .tar.bz2 archives";
41+
changelog = "https://git.sr.ht/~nabijaczleweli/archivemount-ng/refs/${finalAttrs.version}";
5242
mainProgram = "archivemount";
5343
license = [
5444
lib.licenses.lgpl2Plus

0 commit comments

Comments
 (0)