uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
2
pkgs/development/tools/misc/watson-ruby/Gemfile
Normal file
2
pkgs/development/tools/misc/watson-ruby/Gemfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'watson-ruby'
|
||||
15
pkgs/development/tools/misc/watson-ruby/Gemfile.lock
Normal file
15
pkgs/development/tools/misc/watson-ruby/Gemfile.lock
Normal 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
|
||||
2.1.4
|
||||
31
pkgs/development/tools/misc/watson-ruby/default.nix
Normal file
31
pkgs/development/tools/misc/watson-ruby/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "watson-ruby";
|
||||
version = (import ./gemset.nix).watson-ruby.version;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = let
|
||||
env = bundlerEnv {
|
||||
name = "watson-ruby-gems-${version}";
|
||||
inherit ruby;
|
||||
# expects Gemfile, Gemfile.lock and gemset.nix in the same directory
|
||||
gemdir = ./.;
|
||||
};
|
||||
in ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${env}/bin/watson $out/bin/watson
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "watson-ruby";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An inline issue manager";
|
||||
homepage = "https://goosecode.com/watson/";
|
||||
license = with licenses; mit;
|
||||
maintainers = with maintainers; [ robertodr nicknovitski ];
|
||||
mainProgram = "watson";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
18
pkgs/development/tools/misc/watson-ruby/gemset.nix
Normal file
18
pkgs/development/tools/misc/watson-ruby/gemset.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue