about summary refs log tree commit diff
path: root/pkgs/development/tools/surge-cli/default.nix
blob: 13cd941d1a2ba2260e8bd3f0df78a17ed3b47686 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 = with lib; {
    mainProgram = "surge";
    description = "CLI for the surge.sh CDN";
    homepage = "https://surge.sh";
    license = licenses.mit;
    maintainers = with maintainers; [ MoritzBoehme ];
  };
}