nixpkgs-suyu/pkgs/tools/networking/flannel/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
657 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
with lib;
buildGoPackage rec {
pname = "flannel";
version = "0.11.0";
rev = "v${version}";
goPackagePath = "github.com/coreos/flannel";
hardeningDisable = [ "fortify" ];
src = fetchFromGitHub {
inherit rev;
owner = "coreos";
repo = "flannel";
sha256 = "0akxlrrsm2w51g0qd7dnsdy0hdajx98sdhxw4iknjr2kn7j3gph9";
};
meta = {
description = "Network fabric for containers, designed for Kubernetes";
license = licenses.asl20;
homepage = https://github.com/coreos/flannel;
maintainers = with maintainers; [johanot offline];
platforms = with platforms; linux;
};
}