11 pname = "shopware-cli";
13 src = fetchFromGitHub {
14 repo = "shopware-cli";
15 owner = "FriendsOfShopware";
17 hash = "sha256-14Za64G/UpFa6Dfyx7EAQqXMmCWyl5MIQEdutqMQrxE=";
20 nativeBuildInputs = [ installShellFiles makeWrapper ];
21 nativeCheckInputs = [ git dart-sass ];
23 vendorHash = "sha256-Zl84hA2YPG4p3t0V8ZPnLYGz4ggoTSln/koC40nbNZ4=";
26 export HOME="$(mktemp -d)"
27 installShellCompletion --cmd shopware-cli \
28 --bash <($out/bin/shopware-cli completion bash) \
29 --zsh <($out/bin/shopware-cli completion zsh) \
30 --fish <($out/bin/shopware-cli completion fish)
34 wrapProgram $out/bin/shopware-cli \
35 --prefix PATH : ${lib.makeBinPath [ dart-sass ]}
41 "-X 'github.com/FriendsOfShopware/shopware-cli/cmd.version=${version}'"
45 description = "Command line tool for Shopware 6";
46 mainProgram = "shopware-cli";
47 homepage = "https://github.com/FriendsOfShopware/shopware-cli";
48 changelog = "https://github.com/FriendsOfShopware/shopware-cli/releases/tag/${version}";
49 license = licenses.mit;
50 maintainers = with maintainers; [ shyim ];