diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/juju')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/juju/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/juju/default.nix b/nixpkgs/pkgs/applications/networking/juju/default.nix new file mode 100644 index 000000000000..17d80e496e31 --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/juju/default.nix @@ -0,0 +1,30 @@ +{ lib, fetchFromGitHub, buildGoModule }: + +buildGoModule rec { + pname = "juju"; + version = "3.2.3"; + + src = fetchFromGitHub { + owner = "juju"; + repo = "juju"; + rev = "juju-${version}"; + sha256 = "sha256-sUlM4bLy/kluZmGOzMACz92GG46XYKicNPP5k2FPSGA="; + }; + + vendorHash = "sha256-mPEixXVuxAqgkBoNqIYnZaFJynHJsnmamaHqyh/svwQ="; + + # Disable tests because it attempts to use a mongodb instance + doCheck = false; + + subPackages = [ + "cmd/juju" + ]; + + meta = with lib; { + description = "Open source modelling tool for operating software in the cloud"; + homepage = "https://juju.is"; + license = licenses.mit; + maintainers = with maintainers; [ citadelcore ]; + mainProgram = "juju"; + }; +} |