streamlink: 7.1.1 -> 7.1.2 (#373269)
[NixPkgs.git] / pkgs / by-name / kt / ktor-cli / package.nix
blobace71efab245a0a7aac8a6f95c2f8a2d8bafdfa5
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "ktor-cli";
9   version = "0.3.1";
11   src = fetchFromGitHub {
12     owner = "ktorio";
13     repo = "ktor-cli";
14     tag = version;
15     hash = "sha256-UOO6hoUZazlrP+OJ6WCdY358wnRnAiQHEXrOpN7ZIvU=";
16   };
18   subPackages = "cmd/ktor";
20   vendorHash = "sha256-ITYNSq2hs0QcOZZShkwtjZVcSyGY1uCmhgoZ0l9nPP0=";
22   ldflags = [
23     "-s"
24     "-w"
25     "-X main.Version=${version}"
26   ];
28   meta = {
29     description = "Command-line tool for creating Ktor projects";
30     homepage = "https://github.com/ktorio/ktor-cli";
31     changelog = "https://github.com/ktorio/ktor-cli/releases/tag/${version}";
32     license = lib.licenses.asl20;
33     maintainers = with lib.maintainers; [ nartsiss ];
34     mainProgram = "ktor";
35   };