1{ buildNpmPackage, fetchFromGitHub, lib }:
2
3buildNpmPackage rec {
4 pname = "surge-cli";
5 version = "0.23.1";
6
7 src = fetchFromGitHub {
8 owner = "sintaxi";
9 repo = "surge";
10 rev = "v${version}";
11 hash = "sha256-EpYww/YCQhPFmnOJ1zbigI2qyUrKN2TxKHEju/0Si3M=";
12 };
13
14 npmDepsHash = "sha256-F1C/sfOT/Tf+h28g1umP6czLFIsxDkbvT14ZfWLTiCE=";
15
16 dontNpmBuild = true;
17
18 meta = with lib; {
19 mainProgram = "surge";
20 description = "CLI for the surge.sh CDN";
21 homepage = "https://surge.sh";
22 license = licenses.mit;
23 maintainers = with maintainers; [ MoritzBoehme ];
24 };
25}