hue-cli: use bundlerApp

This commit is contained in:
Michael Fellinger
2019-05-04 15:21:48 +02:00
parent c9fd6099b4
commit 20a19eb202
3 changed files with 22 additions and 11 deletions
+12 -7
View File
@@ -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 ];
};
}