hue-cli: use bundlerApp
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
{ bundlerEnv, ruby }:
|
||||
{ lib, bundlerApp }:
|
||||
|
||||
bundlerEnv rec {
|
||||
name = "hue-cli-${version}";
|
||||
|
||||
version = (import gemset).hue-cli.version;
|
||||
inherit ruby;
|
||||
bundlerApp {
|
||||
pname = "hue-cli";
|
||||
gemdir = ./.;
|
||||
gemset = ./gemset.nix;
|
||||
exes = [ "hue" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line interface for controlling Philips Hue system's lights and bridge";
|
||||
homepage = https://github.com/birkirb/hue-cli;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ manveru ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user