hue-cli: use bundlerApp
This commit is contained in:
parent
c9fd6099b4
commit
20a19eb202
@ -6,7 +6,7 @@ GEM
|
|||||||
json
|
json
|
||||||
hue-lib (0.7.4)
|
hue-lib (0.7.4)
|
||||||
json
|
json
|
||||||
json (2.1.0)
|
json (2.2.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
@ -15,4 +15,4 @@ DEPENDENCIES
|
|||||||
hue-cli
|
hue-cli
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.15.1
|
1.17.2
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
{ bundlerEnv, ruby }:
|
{ lib, bundlerApp }:
|
||||||
|
|
||||||
bundlerEnv rec {
|
bundlerApp {
|
||||||
name = "hue-cli-${version}";
|
pname = "hue-cli";
|
||||||
|
|
||||||
version = (import gemset).hue-cli.version;
|
|
||||||
inherit ruby;
|
|
||||||
gemdir = ./.;
|
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 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
hue-cli = {
|
hue-cli = {
|
||||||
dependencies = ["hue-lib" "json"];
|
dependencies = ["hue-lib" "json"];
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "10gjf59pamfy2m17fs271d9ffrg1194b1m6vxzn6p7smzry52h9z";
|
sha256 = "10gjf59pamfy2m17fs271d9ffrg1194b1m6vxzn6p7smzry52h9z";
|
||||||
@ -10,6 +12,8 @@
|
|||||||
};
|
};
|
||||||
hue-lib = {
|
hue-lib = {
|
||||||
dependencies = ["json"];
|
dependencies = ["json"];
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1pyl8g8gisdhl79gbzvnddqrsbq0lmflzg7n6yi6xrp5b5290shz";
|
sha256 = "1pyl8g8gisdhl79gbzvnddqrsbq0lmflzg7n6yi6xrp5b5290shz";
|
||||||
@ -18,11 +22,13 @@
|
|||||||
version = "0.7.4";
|
version = "0.7.4";
|
||||||
};
|
};
|
||||||
json = {
|
json = {
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
|
sha256 = "0sx97bm9by389rbzv8r1f43h06xcz8vwi3h5jv074gvparql7lcx";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.1.0";
|
version = "2.2.0";
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user