diff options
Diffstat (limited to 'pkgs/servers/nosql/riak-cs/stanchion.nix')
-rw-r--r-- | pkgs/servers/nosql/riak-cs/stanchion.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/servers/nosql/riak-cs/stanchion.nix b/pkgs/servers/nosql/riak-cs/stanchion.nix index 5835b7e29c93..8ea71d611ebb 100644 --- a/pkgs/servers/nosql/riak-cs/stanchion.nix +++ b/pkgs/servers/nosql/riak-cs/stanchion.nix @@ -1,11 +1,13 @@ -{ stdenv, lib, fetchurl, unzip, erlang, git, wget, which, pam, coreutils, riak }: +{ stdenv, lib, fetchurl, unzip, erlang, git, wget, which, pam, coreutils, riak +, Carbon ? null, Cocoa ? null }: stdenv.mkDerivation rec { name = "stanchion-2.1.1"; buildInputs = [ - which unzip erlang pam git wget - ]; + which unzip erlang git wget + ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ] + ++ lib.optional stdenv.isLinux [ pam ]; src = fetchurl { url = "http://s3.amazonaws.com/downloads.basho.com/stanchion/2.1/2.1.1/stanchion-2.1.1.tar.gz"; @@ -57,7 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { maintainers = with maintainers; [ mdaiter ]; description = "Manager for Riak CS"; - platforms = [ "x86_64-linux" ]; + platforms = [ "x86_64-linux" "x86_64-darwin" ]; license = licenses.asl20; }; } |