biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / redoc-cli / default.nix
blobde30e43d5eaf9d2bbf0a2cf102145ba51e7fead7
1 { lib
2 , buildNpmPackage
3 , fetchFromGitHub
4 }:
6 buildNpmPackage rec {
7   pname = "redoc-cli";
8   version = "0.13.21";
10   src = fetchFromGitHub {
11     owner = "Redocly";
12     repo = "redoc";
13     rev = "d3ac16f4774ae5b5f698b4e8f4c1d3f5a009d361";
14     hash = "sha256-LmNb+m1Ng/53SPUqrr/AmxNMiWsrMGCKow0DW/9t3Do=";
15   };
17   sourceRoot = "${src.name}/cli";
19   npmDepsHash = "sha256-XL4D7+hb0zOxAr/aRo2UOg4UOip3oewbffsnkFddmWw=";
21   postPatch = ''
22     ln -s npm-shrinkwrap.json package-lock.json
23   '';
25   dontNpmBuild = true;
27   meta = {
28     description = "OpenAPI/Swagger-generated API Reference Documentation";
29     homepage = "https://github.com/Redocly/redoc/tree/redoc-cli/cli";
30     license = lib.licenses.mit;
31     mainProgram = "redoc-cli";
32     maintainers = with lib.maintainers; [ veehaitch ];
33     # https://github.com/NixOS/nixpkgs/issues/272217
34     broken = true;
35   };