Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fl / flatito / package.nix
blob5b41e53478c28b52d5652e01c60bfd9b309fe4cb
1 { lib, ruby, buildRubyGem, bundlerEnv }:
2 let
3   deps = bundlerEnv rec {
4     inherit ruby;
5     name = "flatito-${version}";
6     version = "0.1.1";
7     gemdir = ./.;
8     gemset = lib.recursiveUpdate (import ./gemset.nix) {
9       flatito.source = {
10         remotes = [ "https://rubygems.org" ];
11         sha256 = "9f5a8f899a14c1a0fe74cb89288f24ddc47bd5d83ac88ac8023d19b056ecb50f";
12         type = "gem";
13       };
14     };
15   };
18 buildRubyGem rec {
19   inherit ruby;
21   gemName = "flatito";
22   pname = gemName;
23   version = "0.1.1";
25   source.sha256 = "sha256-n1qPiZoUwaD+dMuJKI8k3cR71dg6yIrIAj0ZsFbstQ8=";
26   propagatedBuildInputs = [ deps ];
28   meta = with lib; {
29     description = "It allows you to search for a key and get the value and the line number where it is located in YAML and JSON files";
30     homepage = "https://github.com/ceritium/flatito";
31     license = licenses.mit;
32     maintainers = with maintainers; [ rucadi ];
33     platforms = platforms.unix;
34     mainProgram = "flatito";
35   };