Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

30 lines
597 B
Nix

{
buildNpmPackage,
fetchFromGitHub,
lib,
}:
buildNpmPackage rec {
pname = "surge-cli";
version = "0.23.1";
src = fetchFromGitHub {
owner = "sintaxi";
repo = "surge";
rev = "v${version}";
hash = "sha256-EpYww/YCQhPFmnOJ1zbigI2qyUrKN2TxKHEju/0Si3M=";
};
npmDepsHash = "sha256-F1C/sfOT/Tf+h28g1umP6czLFIsxDkbvT14ZfWLTiCE=";
dontNpmBuild = true;
meta = {
mainProgram = "surge";
description = "CLI for the surge.sh CDN";
homepage = "https://surge.sh";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ MoritzBoehme ];
};
}