nixpkgs/pkgs/development/tools/symfony-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
688 B
Nix
Raw Normal View History

2022-01-04 10:27:32 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
2021-06-09 12:16:23 +00:00
2022-01-04 10:27:32 +00:00
buildGoModule rec {
pname = "symfony-cli";
2022-03-29 00:07:52 +00:00
version = "5.4.5";
vendorSha256 = "sha256-ss3AtHigm1U3KhVhulIAquNf0WG7y4BSQcxs4pwnHVY=";
2022-01-04 10:27:32 +00:00
src = fetchFromGitHub {
owner = "symfony-cli";
repo = "symfony-cli";
rev = "v${version}";
2022-03-29 00:07:52 +00:00
sha256 = "sha256-xYNq5hnkk6OIsnDHhN/vh1LNuP7isTNgtTY2WUwC8x4=";
2022-01-04 10:27:32 +00:00
};
postInstall = ''
mv $out/bin/symfony-cli $out/bin/symfony
'';
2022-01-04 10:27:32 +00:00
# Tests requires network access
doCheck = false;
2021-06-09 12:16:23 +00:00
meta = with lib; {
description = "Symfony CLI";
2022-01-04 10:27:32 +00:00
homepage = "https://github.com/symfony-cli/symfony-cli";
license = licenses.agpl3Plus;
2021-06-09 12:16:23 +00:00
maintainers = with maintainers; [ drupol ];
};
}