1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00

Merge pull request #60504 from manveru/hue-cli-update

hue-cli: use bundlerApp
This commit is contained in:
Alyssa Ross 2019-05-05 13:49:24 +00:00 committed by GitHub
commit 0aced8f1b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 11 deletions

View file

@ -6,7 +6,7 @@ GEM
json
hue-lib (0.7.4)
json
json (2.1.0)
json (2.2.0)
PLATFORMS
ruby
@ -15,4 +15,4 @@ DEPENDENCIES
hue-cli
BUNDLED WITH
1.15.1
1.17.2

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 ];
};
}

View file

@ -1,6 +1,8 @@
{
hue-cli = {
dependencies = ["hue-lib" "json"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "10gjf59pamfy2m17fs271d9ffrg1194b1m6vxzn6p7smzry52h9z";
@ -10,6 +12,8 @@
};
hue-lib = {
dependencies = ["json"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1pyl8g8gisdhl79gbzvnddqrsbq0lmflzg7n6yi6xrp5b5290shz";
@ -18,11 +22,13 @@
version = "0.7.4";
};
json = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
sha256 = "0sx97bm9by389rbzv8r1f43h06xcz8vwi3h5jv074gvparql7lcx";
type = "gem";
};
version = "2.1.0";
version = "2.2.0";
};
}