mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
51 lines
1002 B
Nix
51 lines
1002 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, makeWrapper
|
|
, python3
|
|
, db
|
|
, fuse
|
|
, asciidoc
|
|
, libxml2
|
|
, libxslt
|
|
, docbook_xml_dtd_412
|
|
, docbook_xsl
|
|
, boost
|
|
, pkg-config
|
|
, judy
|
|
, pam
|
|
, spdlog
|
|
, systemdMinimal
|
|
, zlib # optional
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lizardfs";
|
|
version = "3.13.0-rc3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-rgaFhJvmA1RVDL4+vQLMC0GrdlgUlvJeZ5/JJ67C20Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
|
|
|
buildInputs = [
|
|
db fuse asciidoc libxml2 libxslt docbook_xml_dtd_412 docbook_xsl
|
|
zlib boost judy pam spdlog python3 systemdMinimal
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://lizardfs.com";
|
|
description = "Highly reliable, scalable and efficient distributed file system";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ rushmorem shamilton ];
|
|
# 'fprintf' was not declared in this scope
|
|
broken = true;
|
|
};
|
|
}
|