Skip to content

Instantly share code, notes, and snippets.

@rschulman
Created January 16, 2022 22:28
Show Gist options
  • Save rschulman/aacfc17f2c693428ba5f08851e14f947 to your computer and use it in GitHub Desktop.
Save rschulman/aacfc17f2c693428ba5f08851e14f947 to your computer and use it in GitHub Desktop.
{ lib, fetchFromGithub, buildGoModule }:
buildGoModule rec {
pname = "containerlab";
version = "0.22.0";
src = fetchFromGithub {
owner = "srl-labs";
repo = "containerlab";
rev = "v${version}";
sha256 = "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b";
};
vendorSha256 = null;
runVend = false;
meta = with lib; {
description = "containerlab enables container-based networking labs";
homepage = "https://containerlab.srlinux.dev/"; license = licenses.bsd3;
maintainers = with maintainers; [ rschulman ];
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment