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