nixpkgs/pkgs/development/tools/surge-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
592 B
Nix
Raw Normal View History

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