1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "ec2-metadata-mock";
7 src = fetchFromGitHub {
9 repo = "amazon-ec2-metadata-mock";
11 sha256 = "sha256-hYyJtkwAzweH8boUY3vrvy6Ug+Ier5f6fvR52R+Di8o=";
14 vendorHash = "sha256-T45abGVoiwxAEO60aPH3hUqiH6ON3aRhkrOFcOi+Bm8=";
17 mv $out/bin/{cmd,ec2-metadata-mock}
21 description = "Amazon EC2 Metadata Mock";
22 homepage = "https://github.com/aws/amazon-ec2-metadata-mock";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ ymatsiuk ];