diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2024-02-01 18:16:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 18:16:22 -0500 |
commit | 6846de3bbfa6f0711165581311de40e68e4d4b45 (patch) | |
tree | df9417c0e28158e3892cc25d8d8fe3bfbf9b44b4 /pkgs/by-name/yo | |
parent | 9530f2c11b4d8d7757a4125452821475d0df73f6 (diff) | |
parent | dedef7343e3b5cacfc73d8dd85272a364ada639f (diff) |
Merge pull request #282952 from purcell/youplot
youplot: init at 0.4.5
Diffstat (limited to 'pkgs/by-name/yo')
-rw-r--r-- | pkgs/by-name/yo/youplot/Gemfile | 2 | ||||
-rw-r--r-- | pkgs/by-name/yo/youplot/Gemfile.lock | 18 | ||||
-rw-r--r-- | pkgs/by-name/yo/youplot/gemset.nix | 34 | ||||
-rw-r--r-- | pkgs/by-name/yo/youplot/package.nix | 19 |
4 files changed, 73 insertions, 0 deletions
diff --git a/pkgs/by-name/yo/youplot/Gemfile b/pkgs/by-name/yo/youplot/Gemfile new file mode 100644 index 0000000000000..ee3c0e5fc3465 --- /dev/null +++ b/pkgs/by-name/yo/youplot/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'youplot' diff --git a/pkgs/by-name/yo/youplot/Gemfile.lock b/pkgs/by-name/yo/youplot/Gemfile.lock new file mode 100644 index 0000000000000..17b8b43dfa2e0 --- /dev/null +++ b/pkgs/by-name/yo/youplot/Gemfile.lock @@ -0,0 +1,18 @@ +GEM + remote: https://rubygems.org/ + specs: + enumerable-statistics (2.0.7) + unicode_plot (0.0.5) + enumerable-statistics (>= 2.0.1) + youplot (0.4.5) + unicode_plot (>= 0.0.5) + +PLATFORMS + arm64-darwin-22 + ruby + +DEPENDENCIES + youplot + +BUNDLED WITH + 2.5.3 diff --git a/pkgs/by-name/yo/youplot/gemset.nix b/pkgs/by-name/yo/youplot/gemset.nix new file mode 100644 index 0000000000000..ae84395409127 --- /dev/null +++ b/pkgs/by-name/yo/youplot/gemset.nix @@ -0,0 +1,34 @@ +{ + enumerable-statistics = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0dlnfncz0lbyczakgdlys44pksj6h447npj665xk41b36y0lbf7f"; + type = "gem"; + }; + version = "2.0.7"; + }; + unicode_plot = { + dependencies = ["enumerable-statistics"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0fzpg1zizf19xgfzqw6lmb38xir423wwxb2mjsb3nym6phvn5kli"; + type = "gem"; + }; + version = "0.0.5"; + }; + youplot = { + dependencies = ["unicode_plot"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0imy65wjkgdkpqfympbz8lp2ih866538vk55fwz9a909ib9sbdri"; + type = "gem"; + }; + version = "0.4.5"; + }; +} diff --git a/pkgs/by-name/yo/youplot/package.nix b/pkgs/by-name/yo/youplot/package.nix new file mode 100644 index 0000000000000..d858c8764e835 --- /dev/null +++ b/pkgs/by-name/yo/youplot/package.nix @@ -0,0 +1,19 @@ +{ lib, bundlerApp, bundlerUpdateScript }: + +bundlerApp { + pname = "youplot"; + gemdir = ./.; + + exes = [ "uplot" ]; + + passthru.updateScript = bundlerUpdateScript "youplot"; + + meta = with lib; { + description = "A command line tool that draws plots on the terminal"; + homepage = "https://github.com/red-data-tools/YouPlot"; + mainProgram = "uplot"; + license = licenses.mit; + maintainers = with maintainers; [ purcell ]; + platforms = platforms.unix; + }; +} |