7 pname = "carbon-now-cli";
10 src = fetchFromGitHub {
12 repo = "carbon-now-cli";
14 hash = "sha256-2fqZdPkVM3qBZKacBv9dX99Q9WnM5m7OpChG2n1TnXg=";
17 npmDepsHash = "sha256-UgrgnaA+GXRQT3dtAoMq6tsZZ2gV1CQNoYG58IuSZUM=";
20 substituteInPlace package.json \
21 --replace "bundle/cli.js" "dist/cli.js" \
22 --replace "trash " "rm -rf " \
23 --replace "npx playwright install --with-deps" "true"
27 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1;
31 description = "Beautiful images of your code — from right inside your terminal";
32 homepage = "https://github.com/mixn/carbon-now-cli";
33 license = lib.licenses.mit;
34 mainProgram = "carbon-now";
35 maintainers = with lib.maintainers; [ rmcgibbo ];