2015-03-24 10:03:07 +00:00
|
|
|
{ stdenv, fetchurl, postgresql, ruby }:
|
|
|
|
|
2015-04-28 16:02:33 +01:00
|
|
|
with stdenv.lib;
|
2015-03-24 10:03:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-15 21:03:07 +01:00
|
|
|
version = "3.42.20";
|
2015-03-24 10:03:07 +00:00
|
|
|
name = "heroku-${version}";
|
|
|
|
|
2015-04-28 16:02:33 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "https://toolbelt.heroku.com";
|
|
|
|
description = "Everything you need to get started using Heroku";
|
|
|
|
maintainers = with maintainers; [ aflatter mirdhyn ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
2015-03-24 10:03:07 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-${version}.tgz";
|
2015-10-15 21:03:07 +01:00
|
|
|
sha256 = "1d472vm37lx5nyyaymjglavisb1mkyzbjglzjp5im7wjfifvsd29";
|
2015-03-24 10:03:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -R * $out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ ruby postgresql ];
|
|
|
|
}
|