biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / fundoc / default.nix
blob72c572e3e4f19188e05a4ef6a8c588ada7e740a5
1 { lib, rustPlatform, fetchFromGitHub, fetchpatch }:
3 rustPlatform.buildRustPackage rec {
4   pname = "fundoc";
5   version = "0.5.0";
7   src = fetchFromGitHub {
8     owner = "daynin";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-8WWaYgfqGWrTV2EEeSPz1BN2ur7gsxFiHeDNMJdVDcw=";
12   };
14   cargoPatches = [
15     # updates outdated lock file and fixes a test
16     (fetchpatch {
17       name = "fix-tests.patch";
18       url = "https://github.com/daynin/fundoc/commit/7dd3cf53a1d1ed72b00bf38ea3a45ba4590da7ef.patch";
19       hash = "sha256-9Xsw2P4t9gzwc/qDU6U5+HZevPiQOOQo88gybC8QpyM=";
20     })
21   ];
23   cargoHash = "sha256-yapFUkG2JfGb3N3iVEDpQunOyRnbNTs+q3zQ23B23/s=";
25   meta = with lib; {
26     description = "Language agnostic documentation generator";
27     mainProgram = "fundoc";
28     homepage = "https://github.com/daynin/fundoc";
29     license = licenses.mit;
30     maintainers = with maintainers; [ figsoda ];
31   };