1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 makeWrapper,
7 python3,
8 db,
9 fuse,
10 asciidoc,
11 libxml2,
12 libxslt,
13 docbook_xml_dtd_412,
14 docbook_xsl,
15 boost,
16 pkg-config,
17 judy,
18 pam,
19 spdlog,
20 systemdMinimal,
21 zlib, # optional
22}:
23
24stdenv.mkDerivation rec {
25 pname = "lizardfs";
26 version = "3.13.0-rc3";
27
28 src = fetchFromGitHub {
29 owner = "lizardfs";
30 repo = "lizardfs";
31 rev = version;
32 sha256 = "sha256-rgaFhJvmA1RVDL4+vQLMC0GrdlgUlvJeZ5/JJ67C20Q=";
33 };
34
35 nativeBuildInputs = [
36 cmake
37 pkg-config
38 makeWrapper
39 ];
40
41 buildInputs = [
42 db
43 fuse
44 asciidoc
45 libxml2
46 libxslt
47 docbook_xml_dtd_412
48 docbook_xsl
49 zlib
50 boost
51 judy
52 pam
53 spdlog
54 python3
55 systemdMinimal
56 ];
57
58 meta = with lib; {
59 homepage = "https://lizardfs.com";
60 description = "Highly reliable, scalable and efficient distributed file system";
61 platforms = platforms.linux;
62 license = licenses.gpl3;
63 maintainers = with maintainers; [
64 rushmorem
65 shamilton
66 ];
67 # 'fprintf' was not declared in this scope
68 broken = true;
69 };
70}