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 25 }: 26 - 27 - stdenv.mkDerivation rec { 28 pname = "dwarfs"; 29 - version = "0.7.5"; 30 - 31 src = fetchFromGitHub { 32 owner = "mhx"; 33 repo = "dwarfs"; 34 - rev = "v${version}"; 35 fetchSubmodules = true; 36 hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg="; 37 }; 38 39 patches = [ 40 - (with lib.versions; substituteAll { 41 - src = ./version_info.patch; 42 43 - versionFull = version; # displayed as version number (with v prepended) 44 - versionMajor = major version; 45 - versionMinor = minor version; 46 - versionPatch = patch version; 47 - }) 48 ]; 49 50 cmakeFlags = [ ··· 91 # to the FUSE device 92 GTEST_FILTER = "-dwarfs/tools_test.end_to_end/*:dwarfs/tools_test.mutating_ops/*"; 93 94 - meta = with lib; { 95 description = "A fast high compression read-only file system"; 96 homepage = "https://github.com/mhx/dwarfs"; 97 - license = licenses.gpl3Plus; 98 - maintainers = with maintainers; [ ]; 99 - platforms = platforms.linux; 100 }; 101 }
··· 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 }: 26 + let 27 pname = "dwarfs"; 28 + version = "0.9.9"; 29 + in 30 + stdenv.mkDerivation { 31 + inherit pname version; 32 src = fetchFromGitHub { 33 owner = "mhx"; 34 repo = "dwarfs"; 35 + rev = "refs/tags/v${version}"; 36 fetchSubmodules = true; 37 hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg="; 38 }; 39 40 patches = [ 41 + ( 42 + with lib.versions; 43 + substituteAll { 44 + src = ./version_info.patch; 45 46 + versionFull = version; # displayed as version number (with v prepended) 47 + versionMajor = major version; 48 + versionMinor = minor version; 49 + versionPatch = patch version; 50 + } 51 + ) 52 ]; 53 54 cmakeFlags = [ ··· 95 # to the FUSE device 96 GTEST_FILTER = "-dwarfs/tools_test.end_to_end/*:dwarfs/tools_test.mutating_ops/*"; 97 98 + meta = { 99 description = "A fast high compression read-only file system"; 100 homepage = "https://github.com/mhx/dwarfs"; 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; 105 }; 106 }