diff --git a/pkgs/development/tools/license_finder/Gemfile b/pkgs/development/tools/license_finder/Gemfile new file mode 100644 index 000000000000..0a936674240b --- /dev/null +++ b/pkgs/development/tools/license_finder/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'license_finder' diff --git a/pkgs/development/tools/license_finder/Gemfile.lock b/pkgs/development/tools/license_finder/Gemfile.lock new file mode 100644 index 000000000000..9adea6fc73ff --- /dev/null +++ b/pkgs/development/tools/license_finder/Gemfile.lock @@ -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 diff --git a/pkgs/development/tools/license_finder/default.nix b/pkgs/development/tools/license_finder/default.nix new file mode 100644 index 000000000000..954e2dcd5183 --- /dev/null +++ b/pkgs/development/tools/license_finder/default.nix @@ -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; + }; +} diff --git a/pkgs/development/tools/license_finder/gemset.nix b/pkgs/development/tools/license_finder/gemset.nix new file mode 100644 index 000000000000..89becfc04d35 --- /dev/null +++ b/pkgs/development/tools/license_finder/gemset.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b4627087d611..805c7106cee0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };