blob: 38f1a8691c5174acd388b150084822de05bdf6fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "scalingo";
version = "1.31.0";
src = fetchFromGitHub {
owner = pname;
repo = "cli";
rev = version;
hash = "sha256-Y162BHTlerTbsRJ1KhT82iBMv+jI7Rq+h8JfBIV0uIs=";
};
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;
};
}
|