python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / no / node-pre-gyp / package.nix
blob79ba4234ff16ea4ae03f3e645140127c74e79e91
2   buildNpmPackage,
3   fetchFromGitHub,
4   lib,
5 }:
7 buildNpmPackage rec {
8   pname = "node-pre-gyp";
9   version = "1.0.11";
11   src = fetchFromGitHub {
12     owner = "mapbox";
13     repo = "node-pre-gyp";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-O0PLEy2bEIrypaC+WyQJI5kfkqBBps029CujBKkzZ6o=";
16   };
18   npmDepsHash = "sha256-pZEnyovFp+wOz7D73JpNfEsVNkukPe9sGt1oIO8Tvnc=";
20   dontNpmBuild = true;
22   postInstall = ''
23     mv $out/bin/@mapbox/node-pre-gyp $out/bin
24     rmdir $out/bin/@mapbox
25   '';
27   meta = {
28     changelog = "https://github.com/mapbox/node-pre-gyp/blob/${src.rev}/CHANGELOG.md";
29     description = "Node.js tool for easy binary deployment of C++ addons";
30     homepage = "https://github.com/mapbox/node-pre-gyp";
31     license = lib.licenses.bsd3;
32     mainProgram = "node-pre-gyp";
33     maintainers = with lib.maintainers; [ dotlambda ];
34   };