2021-07-05 15:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "juju";
|
2023-02-09 06:30:29 +00:00
|
|
|
version = "3.1.0";
|
2021-07-05 15:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juju";
|
|
|
|
repo = "juju";
|
|
|
|
rev = "juju-${version}";
|
2023-02-09 06:30:29 +00:00
|
|
|
sha256 = "sha256-n0OtugTjGXk4zCjGPhifY8VinXM6SYkbmX13jBfmV+o=";
|
2021-07-05 15:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 06:30:29 +00:00
|
|
|
vendorHash = "sha256-vDjBmBLrJNRwcre2OmlIuOcxxQuN6b2eYOXLQap3F/U=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|