mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
614 B
Nix
24 lines
614 B
Nix
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
|
|
|
buildGoPackage rec{
|
|
pname = "scaleway-cli";
|
|
version = "1.17";
|
|
|
|
goPackagePath = "github.com/scaleway/scaleway-cli";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scaleway";
|
|
repo = "scaleway-cli";
|
|
rev = "v${version}";
|
|
sha256 = "0v50wk6q8537880whi6w83dia9y934v0s2xr1z52cn3mrsjghsnd";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Interact with Scaleway API from the command line";
|
|
homepage = https://github.com/scaleway/scaleway-cli;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nickhu ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|