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