File tree Expand file tree Collapse file tree 1 file changed +23
-7
lines changed
pkgs/by-name/mo/mount-zip Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change 88 libzip ,
99 pandoc ,
1010 pkg-config ,
11+ versionCheckHook ,
12+ gitUpdater ,
1113} :
1214
1315stdenv . mkDerivation ( finalAttrs : {
1416 pname = "mount-zip" ;
15- version = "1.0.15 " ;
17+ version = "1.6 " ;
1618
1719 src = fetchFromGitHub {
1820 owner = "google" ;
1921 repo = "mount-zip" ;
2022 rev = "v${ finalAttrs . version } " ;
21- hash = "sha256-7S+mZ6jejD9wCqFYfJ0mE2jCKt77S64LEAgAIV2DPqA =" ;
23+ hash = "sha256-akiZwuwrsj+62TmZEJamlvQ1rSyFA4hrH0TcZ8T97z4 =" ;
2224 } ;
2325
2426 strictDeps = true ;
@@ -35,19 +37,33 @@ stdenv.mkDerivation (finalAttrs: {
3537 libzip
3638 ] ;
3739
38- makeFlags = [ "prefix =$(out)" ] ;
40+ makeFlags = [ "PREFIX =$(out)" ] ;
3941
40- meta = with lib ; {
42+ nativeInstallCheckInputs = [
43+ versionCheckHook
44+ ] ;
45+ versionCheckProgramArg = [ "--version" ] ;
46+ doInstallCheck = true ;
47+
48+ passthru = {
49+ updateScript = gitUpdater { rev-prefix = "v" ; } ;
50+ } ;
51+
52+ meta = {
4153 description = "FUSE file system for ZIP archives" ;
4254 homepage = "https://github.com/google/mount-zip" ;
55+ changelog = "https://github.com/google/mount-zip/releases/tag/v${ finalAttrs . version } " ;
4356 longDescription = ''
4457 mount-zip is a tool allowing to open, explore and extract ZIP archives.
4558
4659 This project is a fork of fuse-zip.
4760 '' ;
48- license = licenses . gpl3 ;
49- maintainers = with maintainers ; [ arti5an ] ;
50- platforms = platforms . linux ;
61+ license = lib . licenses . gpl3 ;
62+ maintainers = with lib . maintainers ; [
63+ arti5an
64+ progrm_jarvis
65+ ] ;
66+ platforms = lib . platforms . linux ;
5167 mainProgram = "mount-zip" ;
5268 } ;
5369} )
You can’t perform that action at this time.
0 commit comments