Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / cr / create-react-app / package.nix
blob7ce48825da753adaacc589b5725f6267dfdbe2af
1 { lib
2 , buildNpmPackage
3 , fetchFromGitHub
4 }:
6 buildNpmPackage rec {
7   pname = "create-react-app";
8   version = "5.0.1";
10   src = fetchFromGitHub {
11     owner = "facebook";
12     repo = "create-react-app";
13     rev = "v${version}";
14     hash = "sha256-nUvJRxBZ98ogSkbw8ciFYtZRQNFD6pLThoEjeDMcGm0=";
15   };
17   npmDepsHash = "sha256-diGu53lJi+Fs7pTAQGCXoDtP7YyKZLIN/2Wo+e1Mzc4=";
19   env.PUPPETEER_SKIP_DOWNLOAD = true;
21   npmWorkspace = "packages/create-react-app";
23   dontNpmBuild = true;
25   meta = {
26     changelog = "https://github.com/facebook/create-react-app/blob/${src.rev}/CHANGELOG.md";
27     description = "Create React apps with no build configuration";
28     homepage = "https://github.com/facebook/create-react-app";
29     license = lib.licenses.mit;
30     mainProgram = "create-react-app";
31     maintainers = with lib.maintainers; [ ];
32   };