Merge pull request #29702 from robertodr/watson-ruby

watson-ruby: init at 1.6.3
This commit is contained in:
Jörg Thalheim
2017-09-25 15:51:17 +01:00
committed by GitHub
6 changed files with 72 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'watson-ruby'

View File

@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
json (2.1.0)
watson-ruby (1.6.3)
json
PLATFORMS
ruby
DEPENDENCIES
watson-ruby
BUNDLED WITH
1.14.4

View File

@@ -0,0 +1,29 @@
{ stdenv, bundlerEnv, ruby }:
stdenv.mkDerivation rec {
name = "watson-ruby-${version}";
version = (import ./gemset.nix).watson-ruby.version;
env = bundlerEnv rec {
name = "watson-ruby-gems-${version}";
inherit ruby;
# expects Gemfile, Gemfile.lock and gemset.nix in the same directory
gemdir = ./.;
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin
ln -s ${env}/bin/watson $out/bin/watson
'';
meta = with stdenv.lib; {
description = "An inline issue manager";
homepage = http://goosecode.com/watson/;
license = with licenses; mit;
maintainers = with maintainers; [ robertodr ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,18 @@
{
json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
type = "gem";
};
version = "2.1.0";
};
watson-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1d5m29nr0i030q8ygmbapwri5ndcg2q6lf8a15bk79lfcp9xyj9w";
type = "gem";
};
version = "1.6.3";
};
}