2021-07-05 15:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "juju";
|
2023-10-03 13:30:58 +00:00
|
|
|
version = "3.2.3";
|
2021-07-05 15:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juju";
|
|
|
|
repo = "juju";
|
|
|
|
rev = "juju-${version}";
|
2023-10-03 13:30:58 +00:00
|
|
|
sha256 = "sha256-sUlM4bLy/kluZmGOzMACz92GG46XYKicNPP5k2FPSGA=";
|
2021-07-05 15:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-03 13:30:58 +00:00
|
|
|
vendorHash = "sha256-mPEixXVuxAqgkBoNqIYnZaFJynHJsnmamaHqyh/svwQ=";
|
2021-07-05 15:36:52 +00:00
|
|
|
|
|
|
|
# Disable tests because it attempts to use a mongodb instance
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-06-06 18:24:28 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/juju"
|
|
|
|
];
|
|
|
|
|
2021-07-05 15:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|