-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60506 from manveru/update-cucumber
cucumber: 2.4.0 -> 3.1.2, use bundlerApp
- Loading branch information
Showing
3 changed files
with
77 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters