2021-03-03 16:26:24 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2016-06-14 20:29:50 +02:00
|
|
|
, fetchFromGitHub
|
2019-10-25 07:54:24 +02:00
|
|
|
, fetchpatch
|
2016-06-14 20:29:50 +02:00
|
|
|
, cmake
|
|
|
|
, makeWrapper
|
2020-12-11 17:13:54 +01:00
|
|
|
, python3
|
2018-11-22 03:54:14 +01:00
|
|
|
, db
|
2016-06-14 20:29:50 +02:00
|
|
|
, fuse
|
2016-06-17 00:12:55 +02:00
|
|
|
, asciidoc
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
2016-09-02 20:57:08 +02:00
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, docbook_xsl
|
2016-06-14 20:29:50 +02:00
|
|
|
, boost
|
2021-01-17 10:17:16 +01:00
|
|
|
, pkg-config
|
2016-06-14 20:29:50 +02:00
|
|
|
, judy
|
|
|
|
, pam
|
2019-10-25 07:54:24 +02:00
|
|
|
, spdlog
|
2020-12-11 17:13:54 +01:00
|
|
|
, systemdMinimal
|
2016-06-14 20:29:50 +02:00
|
|
|
, zlib # optional
|
|
|
|
}:
|
|
|
|
|
2019-10-25 07:54:24 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "lizardfs";
|
2020-12-11 17:13:54 +01:00
|
|
|
version = "3.13.0-rc3";
|
2016-06-14 20:29:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-10-25 07:54:24 +02:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2020-12-11 17:13:54 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-rgaFhJvmA1RVDL4+vQLMC0GrdlgUlvJeZ5/JJ67C20Q=";
|
2016-06-14 20:29:50 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
2020-12-09 20:53:17 +01:00
|
|
|
|
2020-12-11 17:13:54 +01:00
|
|
|
buildInputs = [
|
|
|
|
db fuse asciidoc libxml2 libxslt docbook_xml_dtd_412 docbook_xsl
|
2021-11-07 20:59:57 +01:00
|
|
|
zlib boost judy pam spdlog python3 systemdMinimal
|
2018-08-23 19:49:33 +02:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-10-25 07:54:24 +02:00
|
|
|
homepage = "https://lizardfs.com";
|
2016-06-14 20:29:50 +02:00
|
|
|
description = "A highly reliable, scalable and efficient distributed file system";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
2020-12-09 20:53:17 +01:00
|
|
|
maintainers = with maintainers; [ rushmorem shamilton ];
|
2021-03-03 16:26:24 +01:00
|
|
|
# 'fprintf' was not declared in this scope
|
|
|
|
broken = true;
|
2016-06-14 20:29:50 +02:00
|
|
|
};
|
|
|
|
}
|