Files
nixpkgs/pkgs/by-name/fu/fundoc/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
925 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
fetchpatch,
}:
rustPlatform.buildRustPackage rec {
pname = "fundoc";
version = "0.5.0";
src = fetchFromGitHub {
owner = "daynin";
repo = "fundoc";
rev = "v${version}";
hash = "sha256-8WWaYgfqGWrTV2EEeSPz1BN2ur7gsxFiHeDNMJdVDcw=";
};
cargoPatches = [
# updates outdated lock file and fixes a test
(fetchpatch {
name = "fix-tests.patch";
url = "https://github.com/daynin/fundoc/commit/7dd3cf53a1d1ed72b00bf38ea3a45ba4590da7ef.patch";
hash = "sha256-9Xsw2P4t9gzwc/qDU6U5+HZevPiQOOQo88gybC8QpyM=";
})
];
cargoHash = "sha256-17PzGHSwruHPRKjyiHWBMqHANR5ulb+/J5UoVsOrbyc=";
meta = with lib; {
description = "Language agnostic documentation generator";
mainProgram = "fundoc";
homepage = "https://github.com/daynin/fundoc";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}