evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / go / google-clasp / package.nix
blob2b2d6758410bf426fa48ba13051cefafe23a7303
1 { lib
2 , buildNpmPackage
3 , fetchFromGitHub
4 }:
6 buildNpmPackage rec {
7   pname = "clasp";
8   version = "2.4.2";
10   src = fetchFromGitHub {
11     owner = "google";
12     repo = "clasp";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-Cnnqbxjfx7hlRYIDtbjSbDO0QBHqLsleIGrAUQDLaCw=";
15   };
17   npmDepsHash = "sha256-4oYpGBpk4WBVnE1HNYmRRGHZgcPgta2YQB00YyWvbiI=";
19   # `npm run build` tries installing clasp globally
20   npmBuildScript = [ "compile" ];
22   meta = with lib; {
23     description = "Develop Apps Script Projects locally";
24     mainProgram = "clasp";
25     homepage = "https://github.com/google/clasp#readme";
26     changelog = "https://github.com/google/clasp/releases/tag/v${version}";
27     license = licenses.asl20;
28     maintainers = with maintainers; [ natsukium ];
29   };