1 { lib, buildNpmPackage, fetchFromGitHub }:
3 pname = "pnpm-lock-export";
4 version = "unstable-2023-07-31";
6 src = fetchFromGitHub {
7 owner = "adamcstephens";
8 repo = "pnpm-lock-export";
9 rev = "a7ede6d96f9d273b6b495718b85ed40f432c34ba";
10 hash = "sha256-RQGyUQOyFZW7UbIPRRlZu8FKcZN2kO0DcPfB8uLFFg4=";
13 npmDepsHash = "sha256-1VTXzlafuI+dU4k1JyZPVI5/5h0gt/eggPPXKYxKsbs=";
16 cp ${./package-lock.json} package-lock.json
17 # Make the executable get installed to `bin/` instead of `bin/@cvent`
18 substituteInPlace package.json --replace "@cvent/pnpm-lock-export" "pnpm-lock-export"
22 updateScript = ./update.sh;
26 description = "Utility for converting pnpm-lock.yaml to other lockfile formats";
27 mainProgram = "pnpm-lock-export";
28 homepage = "https://github.com/cvent/pnpm-lock-export";
29 license = licenses.mit;
30 maintainers = with maintainers; [ ambroisie ];