home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (663B)


      1 { stdenv, lib, buildGoModule, fetchFromGitHub }:
      2 
      3 buildGoModule rec {
      4   pname = "ko";
      5   name = "${pname}-${version}";
      6   version = "0.9.1";
      7 
      8   subPackages = [ "cmd/ko" ];
      9   src = fetchFromGitHub {
     10     owner = "google";
     11     repo = "ko";
     12     rev = "v${version}";
     13     sha256 = "178pj9b59lwafys82z8qvb0knd5bzvibc9sy0d5q76kbvajk2842";
     14   };
     15   vendorSha256 = null;
     16   # TestGoBuild{,Index} doesn't work because it assumes a .git
     17   doCheck = false;
     18 
     19   meta = with lib; {
     20     homepage = https://github.com/google/ko;
     21     description = "Build and deploy Go applications on Kubernetes";
     22     license = licenses.asl20;
     23     maintainers = with maintainers; [ vdemeester ];
     24   };
     25 }