blast: fix and enable strictDeps (#366620)
[NixPkgs.git] / pkgs / by-name / fl / flatito / package.nix
blobd650b44da0f8238dafd175a0dabb6b06febc59ac
2   lib,
3   ruby,
4   buildRubyGem,
5   bundlerEnv,
6 }:
7 let
8   deps = bundlerEnv rec {
9     inherit ruby;
10     name = "flatito-${version}";
11     version = "0.1.1";
12     gemdir = ./.;
13     gemset = lib.recursiveUpdate (import ./gemset.nix) {
14       flatito.source = {
15         remotes = [ "https://rubygems.org" ];
16         sha256 = "9f5a8f899a14c1a0fe74cb89288f24ddc47bd5d83ac88ac8023d19b056ecb50f";
17         type = "gem";
18       };
19     };
20   };
23 buildRubyGem rec {
24   inherit ruby;
26   gemName = "flatito";
27   pname = gemName;
28   version = "0.1.1";
30   source.sha256 = "sha256-n1qPiZoUwaD+dMuJKI8k3cR71dg6yIrIAj0ZsFbstQ8=";
31   propagatedBuildInputs = [ deps ];
33   meta = with lib; {
34     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";
35     homepage = "https://github.com/ceritium/flatito";
36     license = licenses.mit;
37     maintainers = with maintainers; [ rucadi ];
38     platforms = platforms.unix;
39     mainProgram = "flatito";
40   };