nixpkgs/pkgs/development/tools/chefdk/default.nix
zimbatm bcdc90a3a7 ruby_2_4: remove
According to https://endoflife.software/programming-languages/server-side-scripting/ruby
ruby 2.4 will go end-of-life in march, where the new release of nixpkgs
will be cut. We won't be able to support it for security updates.

Remove all references to ruby_2_4 and add ruby_2_7 instead where
missing.

Mark packages that depend on ruby 2.4 as broken:
* chefdk
* sonic-pi
2020-02-10 13:23:35 -05:00

22 lines
621 B
Nix

{ lib, bundlerEnv, bundlerUpdateScript, ruby, perl, autoconf }:
bundlerEnv {
name = "chef-dk-2.4.17";
inherit ruby;
gemdir = ./.;
buildInputs = [ perl autoconf ];
passthru.updateScript = bundlerUpdateScript "chefdk";
meta = with lib; {
description = "A streamlined development and deployment workflow for Chef platform";
homepage = https://downloads.chef.io/chef-dk/;
license = licenses.asl20;
maintainers = with maintainers; [ offline nicknovitski ];
platforms = platforms.unix;
# chefdk depends on ruby 2.4 which we don't support anymore
broken = true;
};
}