nixpkgs/pkgs/development/misc/google-clasp/default.nix

20 lines
518 B
Nix
Raw Normal View History

2021-01-23 17:15:07 +00:00
{ lib, stdenv, pkgs }:
let
version = "2.2.1";
in
(import ./google-clasp.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
2019-08-13 21:52:01 +00:00
})."@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";
2021-01-23 17:15:07 +00:00
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.michojel ];
priority = 100;
};
}