From 94598ed1e63954631b5c6b3a85e7d9e047f6d9c9 Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Fri, 25 Mar 2022 08:21:09 -0600 Subject: [PATCH] license_finder: init at 7.0.1 --- pkgs/development/tools/license_finder/Gemfile | 2 + .../tools/license_finder/Gemfile.lock | 26 +++++++ .../tools/license_finder/default.nix | 19 +++++ .../tools/license_finder/gemset.nix | 74 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 5 files changed, 123 insertions(+) create mode 100644 pkgs/development/tools/license_finder/Gemfile create mode 100644 pkgs/development/tools/license_finder/Gemfile.lock create mode 100644 pkgs/development/tools/license_finder/default.nix create mode 100644 pkgs/development/tools/license_finder/gemset.nix 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 d679f018d0e3..35dbd47ddbbf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15049,6 +15049,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 { };