1{ lib, bundlerEnv, ruby }:
2
3bundlerEnv rec {
4 name = "cucumber-${version}";
5
6 version = (import gemset).cucumber.version;
7 inherit ruby;
8 # expects Gemfile, Gemfile.lock and gemset.nix in the same directory
9 gemfile = ./Gemfile;
10 lockfile = ./Gemfile.lock;
11 gemset = ./gemset.nix;
12
13 meta = with lib; {
14 description = "A tool for executable specifications";
15 homepage = https://cucumber.io/;
16 license = with licenses; mit;
17 platforms = platforms.unix;
18 };
19}