depot/third_party/nixpkgs/pkgs/tools/misc/clubhouse-cli/default.nix

28 lines
735 B
Nix
Raw Normal View History

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "clubhouse-cli";
version = "2.7.0";
src = fetchFromGitHub {
owner = "andjosh";
repo = "clubhouse-cli";
rev = "v${version}";
hash = "sha256-OGUEPWKL3GBIQHEDljX1gXMRDEztIrJT5ivAIcyW91k=";
};
npmDepsHash = "sha256-QlCLEvmqLVkWwgTVlToYD6bptLp/MVfQ10Wdfr3PIr4=";
meta = {
description = "A command line tool for viewing, creating and updating clubhouse.io stories";
homepage = "https://github.com/andjosh/clubhouse-cli";
changelog = "https://github.com/andjosh/clubhouse-cli/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
mainProgram = "club";
maintainers = with lib.maintainers; [ tobim ];
};
}