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