dwarfs: 0.7.5 → 0.9.8

+45 -40
+45 -40
pkgs/tools/filesystems/dwarfs/default.nix
··· 1 - { lib 2 - , fetchFromGitHub 3 - , stdenv 4 - , substituteAll 5 - 6 - , bison 7 - , boost 8 - , cmake 9 - , double-conversion 10 - , fmt 11 - , fuse3 12 - , glog 13 - , gtest 14 - , jemalloc 15 - , libarchive 16 - , libevent 17 - , libunwind 18 - , lz4 19 - , openssl 20 - , pkg-config 21 - , ronn 22 - , xxHash 23 - , utf8cpp 24 - , zstd 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + stdenv, 5 + substituteAll, 6 + bison, 7 + boost, 8 + cmake, 9 + double-conversion, 10 + fmt, 11 + fuse3, 12 + glog, 13 + gtest, 14 + jemalloc, 15 + libarchive, 16 + libevent, 17 + libunwind, 18 + lz4, 19 + openssl, 20 + pkg-config, 21 + ronn, 22 + xxHash, 23 + utf8cpp, 24 + zstd, 25 25 }: 26 - 27 - stdenv.mkDerivation rec { 26 + let 28 27 pname = "dwarfs"; 29 - version = "0.7.5"; 30 - 28 + version = "0.9.9"; 29 + in 30 + stdenv.mkDerivation { 31 + inherit pname version; 31 32 src = fetchFromGitHub { 32 33 owner = "mhx"; 33 34 repo = "dwarfs"; 34 - rev = "v${version}"; 35 + rev = "refs/tags/v${version}"; 35 36 fetchSubmodules = true; 36 37 hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg="; 37 38 }; 38 39 39 40 patches = [ 40 - (with lib.versions; substituteAll { 41 - src = ./version_info.patch; 41 + ( 42 + with lib.versions; 43 + substituteAll { 44 + src = ./version_info.patch; 42 45 43 - versionFull = version; # displayed as version number (with v prepended) 44 - versionMajor = major version; 45 - versionMinor = minor version; 46 - versionPatch = patch version; 47 - }) 46 + versionFull = version; # displayed as version number (with v prepended) 47 + versionMajor = major version; 48 + versionMinor = minor version; 49 + versionPatch = patch version; 50 + } 51 + ) 48 52 ]; 49 53 50 54 cmakeFlags = [ ··· 91 95 # to the FUSE device 92 96 GTEST_FILTER = "-dwarfs/tools_test.end_to_end/*:dwarfs/tools_test.mutating_ops/*"; 93 97 94 - meta = with lib; { 98 + meta = { 95 99 description = "A fast high compression read-only file system"; 96 100 homepage = "https://github.com/mhx/dwarfs"; 97 - license = licenses.gpl3Plus; 98 - maintainers = with maintainers; [ ]; 99 - platforms = platforms.linux; 101 + changelog = "https://github.com/mhx/dwarfs/blob/v${version}/CHANGES.md"; 102 + license = lib.licenses.gpl3Plus; 103 + maintainers = [ lib.maintainers.luftmensch-luftmensch ]; 104 + platforms = lib.platforms.linux; 100 105 }; 101 106 }