10 stdenv.mkDerivation rec {
11 pname = "liberasurecode";
14 outputs = [ "out" "dev" "doc" ];
16 src = fetchFromGitHub {
20 sha256 = "sha256-HCp+FQ9nq4twk6FtfKhzT80wXXJbvG+clrDO2/9ATpU=";
24 substituteInPlace doc/doxygen.cfg.in \
25 --replace "GENERATE_MAN = NO" "GENERATE_MAN = YES"
27 substituteInPlace Makefile.am src/Makefile.am \
28 --replace "-Werror" ""
31 nativeBuildInputs = [ autoreconfHook doxygen installShellFiles ];
33 buildInputs = [ zlib ];
41 # remove useless man pages about directories
43 installManPage doc/man/man*/*
45 moveToOutput share/liberasurecode/ $doc
51 description = "Erasure Code API library written in C with pluggable Erasure Code backends";
52 homepage = "https://github.com/openstack/liberasurecode";
53 license = licenses.bsd2;
54 maintainers = teams.openstack.members;