nixpkgs/pkgs/applications/networking/juju/default.nix
2023-12-04 02:47:45 +01:00

31 lines
717 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "juju";
version = "3.3.0";
src = fetchFromGitHub {
owner = "juju";
repo = "juju";
rev = "juju-${version}";
sha256 = "sha256-8VSSTeN4a1zvMi4L4dR3q+kWKgYq8Jg1jDvFjEBD7jI=";
};
vendorHash = "sha256-3hZywUpJe6g8IujbK0hcp12S6OKswLj/YYJGuPG06Es=";
# 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";
};
}