mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 06:04:14 +00:00
dwarfs: 0.7.5 → 0.9.8
This commit is contained in:
parent
27851edc9d
commit
24d3f81575
@ -1,50 +1,54 @@
|
|||||||
{ lib
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
, stdenv
|
fetchFromGitHub,
|
||||||
, substituteAll
|
stdenv,
|
||||||
|
substituteAll,
|
||||||
, bison
|
bison,
|
||||||
, boost
|
boost,
|
||||||
, cmake
|
cmake,
|
||||||
, double-conversion
|
double-conversion,
|
||||||
, fmt
|
fmt,
|
||||||
, fuse3
|
fuse3,
|
||||||
, glog
|
glog,
|
||||||
, gtest
|
gtest,
|
||||||
, jemalloc
|
jemalloc,
|
||||||
, libarchive
|
libarchive,
|
||||||
, libevent
|
libevent,
|
||||||
, libunwind
|
libunwind,
|
||||||
, lz4
|
lz4,
|
||||||
, openssl
|
openssl,
|
||||||
, pkg-config
|
pkg-config,
|
||||||
, ronn
|
ronn,
|
||||||
, xxHash
|
xxHash,
|
||||||
, utf8cpp
|
utf8cpp,
|
||||||
, zstd
|
zstd,
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "dwarfs";
|
pname = "dwarfs";
|
||||||
version = "0.7.5";
|
version = "0.9.9";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit pname version;
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mhx";
|
owner = "mhx";
|
||||||
repo = "dwarfs";
|
repo = "dwarfs";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg=";
|
hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
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)
|
versionFull = version; # displayed as version number (with v prepended)
|
||||||
versionMajor = major version;
|
versionMajor = major version;
|
||||||
versionMinor = minor version;
|
versionMinor = minor version;
|
||||||
versionPatch = patch version;
|
versionPatch = patch version;
|
||||||
})
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@ -91,11 +95,12 @@ stdenv.mkDerivation rec {
|
|||||||
# to the FUSE device
|
# to the FUSE device
|
||||||
GTEST_FILTER = "-dwarfs/tools_test.end_to_end/*:dwarfs/tools_test.mutating_ops/*";
|
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";
|
description = "A fast high compression read-only file system";
|
||||||
homepage = "https://github.com/mhx/dwarfs";
|
homepage = "https://github.com/mhx/dwarfs";
|
||||||
license = licenses.gpl3Plus;
|
changelog = "https://github.com/mhx/dwarfs/blob/v${version}/CHANGES.md";
|
||||||
maintainers = with maintainers; [ ];
|
license = lib.licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
maintainers = [ lib.maintainers.luftmensch-luftmensch ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user