2022-10-21 18:38:19 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, fetchpatch }:
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fundoc";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.4.2";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "csssr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
hash = "sha256-qmsr4bhErpMzS71NhLep0EWimZb/S3aEhMbeBNa5y8E=";
|
2021-09-22 15:38:15 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
cargoPatches = [
|
|
|
|
# https://github.com/CSSSR/fundoc/pull/36
|
|
|
|
(fetchpatch {
|
|
|
|
name = "update-dependencies-for-rust-1.64.patch";
|
|
|
|
url = "https://github.com/CSSSR/fundoc/commit/9e0c5f747088467b70bd385fcb8888950351143f.patch";
|
|
|
|
hash = "sha256-JUTwMdxxt+2jst9DyqgkblZodBSYJzaDtjiLRQ8mJFU=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
cargoHash = "sha256-1gKxFznoGYGme0UicP73FQt8CnI9IeyHJxLgRcLffm0=";
|
2021-09-22 15:38:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Language agnostic documentation generator";
|
|
|
|
homepage = "https://github.com/csssr/fundoc";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|