about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/misc/google-clasp/default.nix
blob: 105104ebd7217c8c29708a10cabcb22c9a0ddfa2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, pkgs }:
let
  version = "2.2.1";
in
(import ./google-clasp.nix {
  inherit pkgs;
  inherit (stdenv.hostPlatform) system;
})."@google/clasp-${version}".override rec {
  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 = stdenv.lib.licenses.asl20;
    maintainers = [ stdenv.lib.maintainers.michojel ];
    priority = 100;
  };
}