depot/third_party/nixpkgs/pkgs/applications/blockchains/clboss/default.nix

36 lines
783 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoconf-archive
, autoreconfHook
, pkg-config
, curlWithGnuTls
, libev
, sqlite
}:
stdenv.mkDerivation rec {
pname = "clboss";
version = "0.13";
src = fetchFromGitHub {
owner = "ZmnSCPxj";
repo = "clboss";
rev = "v${version}";
hash = "sha256-NP9blymdqDXo/OtGLQg/MXK24PpPvCrzqXRdtfCvpfI=";
};
nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ];
enableParallelBuilding = true;
meta = with lib; {
description = "Automated C-Lightning Node Manager";
homepage = "https://github.com/ZmnSCPxj/clboss";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "clboss";
};
}