nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 1.0 kB view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8buildGoModule (finalAttrs: { 9 pname = "runn"; 10 version = "1.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "k1LoW"; 14 repo = "runn"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-rwKz/jFkmB7F4CoeRPgCBCvls3ovEdp907G3NzcY9tY="; 17 }; 18 19 vendorHash = "sha256-XFPiTyOoFfbfkhE/UekulsUc2lwoVJskO8ZxcBmiOU0="; 20 21 subPackages = [ "cmd/runn" ]; 22 23 ldflags = [ 24 "-s" 25 "-w" 26 "-X github.com/k1LoW/runn/version.Version=${finalAttrs.version}" 27 ]; 28 29 # Tests require external services (PostgreSQL, MySQL, Chrome, gRPC) 30 doCheck = false; 31 32 passthru.updateScript = nix-update-script { }; 33 34 meta = { 35 description = "Scenario-based testing tool for APIs, databases, and more"; 36 homepage = "https://github.com/k1LoW/runn"; 37 changelog = "https://github.com/k1LoW/runn/releases/tag/v${finalAttrs.version}"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ takeokunn ]; 40 mainProgram = "runn"; 41 }; 42})