nixpkgs/pkgs/by-name/sc/scalingo/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
731 B
Nix
Raw Normal View History

2023-04-05 19:09:14 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "scalingo";
2024-02-14 04:32:04 +00:00
version = "1.30.1";
2023-04-05 19:09:14 +00:00
src = fetchFromGitHub {
owner = pname;
2023-04-05 19:09:14 +00:00
repo = "cli";
rev = version;
2024-02-14 04:32:04 +00:00
hash = "sha256-Dzm1f7iNVCzbSogYfjDIHJ2UbPnP1F9nF9QASe/H3TU=";
2023-04-05 19:09:14 +00:00
};
vendorHash = null;
2023-10-25 08:44:19 +00:00
preCheck = ''
export HOME=$TMPDIR
'';
2023-04-05 19:09:14 +00:00
postInstall = ''
rm $out/bin/dists
'';
2023-04-05 19:09:14 +00:00
meta = with lib; {
2023-10-25 08:37:21 +00:00
description = "Command line client for the Scalingo PaaS";
2023-04-05 19:09:14 +00:00
homepage = "https://doc.scalingo.com/platform/cli/start";
2023-06-02 15:30:00 +00:00
changelog = "https://github.com/Scalingo/cli/blob/master/CHANGELOG.md";
2023-04-05 19:09:14 +00:00
license = licenses.bsdOriginal;
maintainers = with maintainers; [ cimm ];
platforms = with lib.platforms; unix;
};
}