1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/tools/continuous-integration/cide/default.nix

31 lines
704 B
Nix
Raw Normal View History

2016-02-26 14:34:19 +00:00
{ stdenv, lib, bundlerEnv, makeWrapper, docker, git, gnutar, gzip }:
2015-08-02 01:11:17 +01:00
stdenv.mkDerivation rec {
name = "cide-${version}";
2016-02-26 14:34:19 +00:00
version = "0.9.0";
2015-08-02 01:11:17 +01:00
env = bundlerEnv {
name = "${name}-gems";
2017-01-17 23:35:15 +00:00
gemdir = ./.;
2015-08-02 01:11:17 +01:00
};
phases = ["installPhase"];
buildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/cide $out/bin/cide \
2016-08-22 23:06:51 +01:00
--set PATH ${stdenv.lib.makeBinPath [ docker git gnutar gzip ]}
2015-08-02 01:11:17 +01:00
'';
meta = with lib; {
description = "Isolated test runner with Docker";
homepage = http://zimbatm.github.io/cide/;
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
platforms = docker.meta.platforms;
};
}