mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
34 lines
761 B
Nix
34 lines
761 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "scalingo";
|
|
version = "1.32.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = "cli";
|
|
rev = version;
|
|
hash = "sha256-kursqM0/HxTnEvrVxEd4YUiIG4I974JKZqkQTqP00ko=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
preCheck = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
|
|
postInstall = ''
|
|
rm $out/bin/dists
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Command line client for the Scalingo PaaS";
|
|
mainProgram = "scalingo";
|
|
homepage = "https://doc.scalingo.com/platform/cli/start";
|
|
changelog = "https://github.com/Scalingo/cli/blob/master/CHANGELOG.md";
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ cimm ];
|
|
platforms = with lib.platforms; unix;
|
|
};
|
|
}
|