1{ lib, stdenv, pkgs }:
2let
3 version = "2.2.1";
4in
5(import ./google-clasp.nix {
6 inherit pkgs;
7 inherit (stdenv.hostPlatform) system;
8})."@google/clasp-${version}".override {
9 preRebuild = ''
10 patch -p1 <<<"${builtins.readFile ./dotf.patch}"
11 '';
12 meta = {
13 description = "Command Line tool for Google Apps Script Projects";
14 homepage = "https://developers.google.com/apps-script/guides/clasp";
15 license = lib.licenses.asl20;
16 maintainers = [ lib.maintainers.michojel ];
17 priority = 100;
18 };
19}