nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #203932 from urandom2/calico

authored by

Sandro and committed by
GitHub
1db407ab 28472732

+92
+81
pkgs/applications/networking/cluster/calico/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + builtins.mapAttrs (pname: { doCheck ? true, mainProgram ? pname, subPackages }: buildGoModule rec { 4 + inherit pname; 5 + version = "3.24.5"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "projectcalico"; 9 + repo = "calico"; 10 + rev = "v${version}"; 11 + hash = "sha256-fB9FHiIqVieVkPfHmBvcaUmUqkT1ZbDT26+DUE9lbdc="; 12 + }; 13 + 14 + vendorHash = "sha256-ogQ/REf5cngoGAFIBN++txew6UqOw1hqCVsixyuGtug="; 15 + 16 + inherit doCheck subPackages; 17 + 18 + ldflags = [ "-s" "-w" ]; 19 + 20 + meta = with lib; { 21 + homepage = "https://projectcalico.docs.tigera.io"; 22 + changelog = "https://github.com/projectcalico/calico/releases/tag/v${version}"; 23 + description = "Cloud native networking and network security"; 24 + license = licenses.asl20; 25 + maintainers = with maintainers; [ urandom ]; 26 + inherit mainProgram; 27 + }; 28 + }) { 29 + calico-apiserver = { 30 + mainProgram = "apiserver"; 31 + subPackages = [ 32 + "apiserver/cmd/..." 33 + ]; 34 + }; 35 + calico-app-policy = { 36 + # integration tests require network 37 + doCheck = false; 38 + mainProgram = "dikastes"; 39 + subPackages = [ 40 + "app-policy/cmd/..." 41 + ]; 42 + }; 43 + calico-cni-plugin = { 44 + mainProgram = "calico"; 45 + subPackages = [ 46 + "cni-plugin/cmd/..." 47 + ]; 48 + }; 49 + calico-kube-controllers = { 50 + # integration tests require network and docker 51 + doCheck = false; 52 + mainProgram = "kube-controllers"; 53 + subPackages = [ 54 + "kube-controllers/cmd/..." 55 + ]; 56 + }; 57 + calico-pod2daemon = { 58 + mainProgram = "flexvol"; 59 + subPackages = [ 60 + "pod2daemon/csidriver" 61 + "pod2daemon/flexvol" 62 + "pod2daemon/nodeagent" 63 + ]; 64 + }; 65 + calico-typha = { 66 + subPackages = [ 67 + "typha/cmd/..." 68 + ]; 69 + }; 70 + calicoctl = { 71 + subPackages = [ 72 + "calicoctl/calicoctl" 73 + ]; 74 + }; 75 + confd-calico = { 76 + mainProgram = "confd"; 77 + subPackages = [ 78 + "confd" 79 + ]; 80 + }; 81 + }
+11
pkgs/top-level/all-packages.nix
··· 27998 27998 27999 27999 calibre-web = callPackage ../servers/calibre-web { }; 28000 28000 28001 + # calico-felix and calico-node have not been packaged due to libbpf, linking issues 28002 + inherit (callPackage ../applications/networking/cluster/calico {}) 28003 + calico-apiserver 28004 + calico-app-policy 28005 + calico-cni-plugin 28006 + calico-kube-controllers 28007 + calico-pod2daemon 28008 + calico-typha 28009 + calicoctl 28010 + confd-calico; 28011 + 28001 28012 calligra = libsForQt5.callPackage ../applications/office/calligra { }; 28002 28013 28003 28014 perkeep = callPackage ../applications/misc/perkeep { };