tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dwarfs: 0.7.5 → 0.9.8
luftmensch-luftmensch
2 years ago
24d3f815
27851edc
+45
-40
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
dwarfs
default.nix
+45
-40
pkgs/tools/filesystems/dwarfs/default.nix
···
1
1
-
{ lib
2
2
-
, fetchFromGitHub
3
3
-
, stdenv
4
4
-
, substituteAll
5
5
-
6
6
-
, bison
7
7
-
, boost
8
8
-
, cmake
9
9
-
, double-conversion
10
10
-
, fmt
11
11
-
, fuse3
12
12
-
, glog
13
13
-
, gtest
14
14
-
, jemalloc
15
15
-
, libarchive
16
16
-
, libevent
17
17
-
, libunwind
18
18
-
, lz4
19
19
-
, openssl
20
20
-
, pkg-config
21
21
-
, ronn
22
22
-
, xxHash
23
23
-
, utf8cpp
24
24
-
, zstd
1
1
+
{
2
2
+
lib,
3
3
+
fetchFromGitHub,
4
4
+
stdenv,
5
5
+
substituteAll,
6
6
+
bison,
7
7
+
boost,
8
8
+
cmake,
9
9
+
double-conversion,
10
10
+
fmt,
11
11
+
fuse3,
12
12
+
glog,
13
13
+
gtest,
14
14
+
jemalloc,
15
15
+
libarchive,
16
16
+
libevent,
17
17
+
libunwind,
18
18
+
lz4,
19
19
+
openssl,
20
20
+
pkg-config,
21
21
+
ronn,
22
22
+
xxHash,
23
23
+
utf8cpp,
24
24
+
zstd,
25
25
}:
26
26
-
27
27
-
stdenv.mkDerivation rec {
26
26
+
let
28
27
pname = "dwarfs";
29
29
-
version = "0.7.5";
30
30
-
28
28
+
version = "0.9.9";
29
29
+
in
30
30
+
stdenv.mkDerivation {
31
31
+
inherit pname version;
31
32
src = fetchFromGitHub {
32
33
owner = "mhx";
33
34
repo = "dwarfs";
34
34
-
rev = "v${version}";
35
35
+
rev = "refs/tags/v${version}";
35
36
fetchSubmodules = true;
36
37
hash = "sha256-Zzm2SaFR31TBBMDfgJulVbqsJBh1He2wBFzHRC/c5vg=";
37
38
};
38
39
39
40
patches = [
40
40
-
(with lib.versions; substituteAll {
41
41
-
src = ./version_info.patch;
41
41
+
(
42
42
+
with lib.versions;
43
43
+
substituteAll {
44
44
+
src = ./version_info.patch;
42
45
43
43
-
versionFull = version; # displayed as version number (with v prepended)
44
44
-
versionMajor = major version;
45
45
-
versionMinor = minor version;
46
46
-
versionPatch = patch version;
47
47
-
})
46
46
+
versionFull = version; # displayed as version number (with v prepended)
47
47
+
versionMajor = major version;
48
48
+
versionMinor = minor version;
49
49
+
versionPatch = patch version;
50
50
+
}
51
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
94
-
meta = with lib; {
98
98
+
meta = {
95
99
description = "A fast high compression read-only file system";
96
100
homepage = "https://github.com/mhx/dwarfs";
97
97
-
license = licenses.gpl3Plus;
98
98
-
maintainers = with maintainers; [ ];
99
99
-
platforms = platforms.linux;
101
101
+
changelog = "https://github.com/mhx/dwarfs/blob/v${version}/CHANGES.md";
102
102
+
license = lib.licenses.gpl3Plus;
103
103
+
maintainers = [ lib.maintainers.luftmensch-luftmensch ];
104
104
+
platforms = lib.platforms.linux;
100
105
};
101
106
}