10 src = fetchFromGitHub {
14 hash = "sha256-9osB3bsc8IvH1ishG9uiIUnAwC1yZd0rFhiZdzYucI8=";
17 vendorHash = "sha256-0p4f+KKD04IFAUQG8F3b+2sx9suYemt3wbgSNNOOIlk=";
25 substituteInPlace main.go --replace '"0.0.0"' '"${version}"'
29 mv $out/bin/cli $out/bin/scalr
32 doCheck = false; # Skip tests as they require creating actual Scalr resources.
35 description = "Command-line tool that communicates directly with the Scalr API";
36 homepage = "https://github.com/Scalr/scalr-cli";
37 changelog = "https://github.com/Scalr/scalr-cli/releases/tag/v${version}";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ dylanmtaylor ];
40 mainProgram = "scalr";