cucumber: 2.4.0 -> 3.1.2, use bundlerApp

This commit is contained in:
Michael Fellinger
2019-04-30 17:49:30 +02:00
parent 00fe2aaffe
commit fa33c37cb8
3 changed files with 77 additions and 27 deletions
+6 -10
View File
@@ -1,19 +1,15 @@
{ lib, bundlerEnv, ruby }:
{ lib, bundlerApp }:
bundlerEnv rec {
name = "cucumber-${version}";
version = (import gemset).cucumber.version;
inherit ruby;
# expects Gemfile, Gemfile.lock and gemset.nix in the same directory
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
bundlerApp {
pname = "cucumber";
gemdir = ./.;
exes = [ "cucumber" ];
meta = with lib; {
description = "A tool for executable specifications";
homepage = https://cucumber.io/;
license = with licenses; mit;
maintainers = with maintainers; [ manveru ];
platforms = platforms.unix;
};
}