dwarfs: 0.7.5 → 0.9.8

This commit is contained in:
luftmensch-luftmensch 2024-05-18 15:07:55 +02:00
parent 27851edc9d
commit 24d3f81575
No known key found for this signature in database

View File

@ -1,50 +1,54 @@
{ lib
, fetchFromGitHub
, stdenv
, substituteAll
, bison
, boost
, cmake
, double-conversion
, fmt
, fuse3
, glog
, gtest
, jemalloc
, libarchive
, libevent
, libunwind
, lz4
, openssl
, pkg-config
, ronn
, xxHash
, utf8cpp
, zstd
{
lib,
fetchFromGitHub,
stdenv,
substituteAll,
bison,
boost,
cmake,
double-conversion,
fmt,
fuse3,
glog,
gtest,
jemalloc,
libarchive,
libevent,
libunwind,
lz4,
openssl,
pkg-config,
ronn,
xxHash,
utf8cpp,
zstd,
}:
stdenv.mkDerivation rec {
let
pname = "dwarfs";
version = "0.7.5";
version = "0.9.9";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "mhx";
repo = "dwarfs";
rev = "v${version}";
rev = "refs/tags/v${version}";
fetchSubmodules = true;
hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg=";
};
patches = [
(with lib.versions; substituteAll {
src = ./version_info.patch;
(
with lib.versions;
substituteAll {
src = ./version_info.patch;
versionFull = version; # displayed as version number (with v prepended)
versionMajor = major version;
versionMinor = minor version;
versionPatch = patch version;
})
versionFull = version; # displayed as version number (with v prepended)
versionMajor = major version;
versionMinor = minor version;
versionPatch = patch version;
}
)
];
cmakeFlags = [
@ -91,11 +95,12 @@ stdenv.mkDerivation rec {
# to the FUSE device
GTEST_FILTER = "-dwarfs/tools_test.end_to_end/*:dwarfs/tools_test.mutating_ops/*";
meta = with lib; {
meta = {
description = "A fast high compression read-only file system";
homepage = "https://github.com/mhx/dwarfs";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
changelog = "https://github.com/mhx/dwarfs/blob/v${version}/CHANGES.md";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.luftmensch-luftmensch ];
platforms = lib.platforms.linux;
};
}