nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 44 lines 971 B view raw
1{ 2 lib, 3 stdenv, 4 fetchzip, 5 autoconf-archive, 6 autoreconfHook, 7 pkg-config, 8 curlWithGnuTls, 9 libev, 10 libunwind, 11 sqlite, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "clboss"; 16 version = "0.14.1"; 17 18 # The release tarball includes the pre-generated file `commit_hash.h` that is required for building 19 src = fetchzip { 20 url = "https://github.com/ZmnSCPxj/clboss/releases/download/v${version}/clboss-v${version}.tar.gz"; 21 hash = "sha256-JMbNHEI0j78LJYsBZ/Z4qvEdRqgQtWG1HlGW3SBXUCg="; 22 }; 23 24 nativeBuildInputs = [ 25 autoconf-archive 26 autoreconfHook 27 pkg-config 28 libev 29 libunwind 30 curlWithGnuTls 31 sqlite 32 ]; 33 34 enableParallelBuilding = true; 35 36 meta = with lib; { 37 description = "Automated C-Lightning Node Manager"; 38 homepage = "https://github.com/ZmnSCPxj/clboss"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ prusnak ]; 41 platforms = platforms.linux ++ platforms.darwin; 42 mainProgram = "clboss"; 43 }; 44}