nixpkgs-suyu/pkgs/development/misc/google-clasp/default.nix
Michal Minář f0c12c4795 google-clasp: init at 2.2.1 (#43376)
* google-clasp: init at version 2.2.1

Useful for developing Google's Apps Scripts.

Signed-off-by: Michal Minář <mic.liamg@gmail.com>

* fixed license

Signed-off-by: Michal Minář <mic.liamg@gmail.com>
2019-08-22 13:29:43 +02:00

19 lines
529 B
Nix

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