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"
28 nativeBuildInputs = [ autoreconfHook doxygen installShellFiles ];
30 buildInputs = [ zlib ];
32 configureFlags = [ "--enable-doxygen" ];
35 # remove useless man pages about directories
37 installManPage doc/man/man*/*
39 moveToOutput share/liberasurecode/ $doc
45 description = "Erasure Code API library written in C with pluggable Erasure Code backends";
46 homepage = "https://github.com/openstack/liberasurecode";
47 license = licenses.bsd2;
48 maintainers = teams.openstack.members;