Merge pull request #165758 from WolfangAukang/license-finder
This commit is contained in:
commit
0ff1cbf17e
5 changed files with 123 additions and 0 deletions
2
pkgs/development/tools/license_finder/Gemfile
Normal file
2
pkgs/development/tools/license_finder/Gemfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'license_finder'
|
26
pkgs/development/tools/license_finder/Gemfile.lock
Normal file
26
pkgs/development/tools/license_finder/Gemfile.lock
Normal file
|
@ -0,0 +1,26 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
license_finder (7.0.1)
|
||||
bundler
|
||||
rubyzip (>= 1, < 3)
|
||||
thor (~> 1.2)
|
||||
tomlrb (>= 1.3, < 2.1)
|
||||
with_env (= 1.1.0)
|
||||
xml-simple (~> 1.1.9)
|
||||
rexml (3.2.5)
|
||||
rubyzip (2.3.2)
|
||||
thor (1.2.1)
|
||||
tomlrb (2.0.1)
|
||||
with_env (1.1.0)
|
||||
xml-simple (1.1.9)
|
||||
rexml
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
license_finder
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
19
pkgs/development/tools/license_finder/default.nix
Normal file
19
pkgs/development/tools/license_finder/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ lib, bundlerEnv, bundlerUpdateScript, ruby }:
|
||||
|
||||
bundlerEnv {
|
||||
pname = "license_finder";
|
||||
version = "7.0.1";
|
||||
|
||||
inherit ruby;
|
||||
gemdir = ./.;
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "license_finder";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find licenses for your project's dependencies";
|
||||
homepage = "https://github.com/pivotal/licensefinder";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
74
pkgs/development/tools/license_finder/gemset.nix
Normal file
74
pkgs/development/tools/license_finder/gemset.nix
Normal file
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
license_finder = {
|
||||
dependencies = ["rubyzip" "thor" "tomlrb" "with_env" "xml-simple"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0sig4ifxzvcz3fwjnz93dpv61v6sxpmlknj5f8n112ragrbcj8hb";
|
||||
type = "gem";
|
||||
};
|
||||
version = "7.0.1";
|
||||
};
|
||||
rexml = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.2.5";
|
||||
};
|
||||
rubyzip = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0grps9197qyxakbpw02pda59v45lfgbgiyw48i0mq9f2bn9y6mrz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.3.2";
|
||||
};
|
||||
thor = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0inl77jh4ia03jw3iqm5ipr76ghal3hyjrd6r8zqsswwvi9j2xdi";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.1";
|
||||
};
|
||||
tomlrb = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0a83cb5xpyzlr651d46rk5xgq37s46hs9nfqy9baawzs31hm9k2g";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.0.1";
|
||||
};
|
||||
with_env = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1r5ns064mbb99hf1dyxsk9183hznc5i7mn3bi86zka6dlvqf9csh";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.0";
|
||||
};
|
||||
xml-simple = {
|
||||
dependencies = ["rexml"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0pb9plyl71mdbjr4kllfy53qx6g68ryxblmnq9dilvy837jk24fj";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.9";
|
||||
};
|
||||
}
|
|
@ -15079,6 +15079,8 @@ with pkgs;
|
|||
|
||||
funnelweb = callPackage ../development/tools/literate-programming/funnelweb { };
|
||||
|
||||
license_finder = callPackage ../development/tools/license_finder { };
|
||||
|
||||
Literate = callPackage ../development/tools/literate-programming/Literate { };
|
||||
|
||||
md-tangle = callPackage ../development/tools/literate-programming/md-tangle { };
|
||||
|
|
Loading…
Reference in a new issue