mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
29 lines
803 B
Nix
29 lines
803 B
Nix
{ stdenv, fetchurl, postgresql, ruby, makeWrapper, nodejs-6_x }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec {
|
|
version = "3.43.2";
|
|
name = "heroku-${version}";
|
|
|
|
meta = {
|
|
homepage = "https://toolbelt.heroku.com";
|
|
description = "Everything you need to get started using Heroku";
|
|
maintainers = with maintainers; [ aflatter mirdhyn ];
|
|
license = licenses.mit;
|
|
platforms = with platforms; unix;
|
|
};
|
|
|
|
src = fetchurl {
|
|
url = "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-${version}.tgz";
|
|
sha256 = "1sapbxg7pzi89c95k0vsp8k5bysggkjf58jwck2xs0y4ly36wbnc";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -R * $out/
|
|
wrapProgram $out/bin/heroku --set HEROKU_NODE_PATH ${nodejs-6_x}/bin/node
|
|
'';
|
|
|
|
buildInputs = [ ruby postgresql makeWrapper ];
|
|
}
|