11 src = fetchFromGitHub {
15 hash = "sha256-Pw3ZEmQHlRmhEINQRQ21aCt6t1f7aqH/n8zfIzOF0lo=";
18 vendorHash = "sha256-0p4f+KKD04IFAUQG8F3b+2sx9suYemt3wbgSNNOOIlk=";
27 substituteInPlace main.go --replace '"0.0.0"' '"${version}"'
31 mv $out/bin/cli $out/bin/scalr
34 doCheck = false; # Skip tests as they require creating actual Scalr resources.
37 description = "Command-line tool that communicates directly with the Scalr API";
38 homepage = "https://github.com/Scalr/scalr-cli";
39 changelog = "https://github.com/Scalr/scalr-cli/releases/tag/v${version}";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ dylanmtaylor ];
42 mainProgram = "scalr";