From d2b906c771917148df29969b2b1cc9bb33207650 Mon Sep 17 00:00:00 2001 From: Alexander Flatter Date: Tue, 24 Mar 2015 11:03:07 +0100 Subject: [PATCH] Add heroku-client --- pkgs/development/tools/heroku/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/tools/heroku/default.nix diff --git a/pkgs/development/tools/heroku/default.nix b/pkgs/development/tools/heroku/default.nix new file mode 100644 index 00000000000..d9767ee166c --- /dev/null +++ b/pkgs/development/tools/heroku/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl, postgresql, ruby }: + +stdenv.mkDerivation rec { + version = "3.30.3"; + name = "heroku-${version}"; + + src = fetchurl { + url = "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-${version}.tgz"; + sha256 = "0m9l04syli4ripkh37lwk0hq4silnp830ddsk3ph77iymzh2iz1f"; + }; + + installPhase = '' + mkdir -p $out + cp -R * $out/ + ''; + + buildInputs = [ ruby postgresql ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 888b8bea781..cda6163037f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5287,6 +5287,8 @@ let inherit (perlPackages) LocaleGettext; }; + heroku = callPackage ../development/tools/heroku { }; + hyenae = callPackage ../tools/networking/hyenae { }; icmake = callPackage ../development/tools/build-managers/icmake { };