2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, 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
|
|
|
|
, pkgconfig
|
|
|
|
, judy
|
|
|
|
, pam
|
|
|
|
, spdlog
|
2020-12-25 13:55:36 +00:00
|
|
|
, fmt
|
|
|
|
, 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
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [
|
|
|
|
db fuse asciidoc libxml2 libxslt docbook_xml_dtd_412 docbook_xsl
|
|
|
|
zlib boost judy pam spdlog fmt 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";
|
|
|
|
description = "A highly reliable, scalable and efficient distributed file system";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
2020-12-25 13:55:36 +00:00
|
|
|
maintainers = with maintainers; [ rushmorem shamilton ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|