3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/misc/google-clasp/default.nix

20 lines
529 B
Nix
Raw Normal View History

{ 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;
};
}