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";
2023-12-23 07:02:27 +00:00
version = "1.30.0";
2023-04-05 19:09:14 +00:00
src = fetchFromGitHub {
owner = pname;
2023-04-05 19:09:14 +00:00
repo = "cli";
rev = version;
2023-12-23 07:02:27 +00:00
hash = "sha256-vgkVxQK18RBIhhL9gyuH9kmCueJFDZByhy0FE4JuVO8=";
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;
};
}