2024-08-25 03:25:36 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
darwin,
|
2022-12-04 21:46:56 +00:00
|
|
|
}:
|
2022-07-27 17:09:12 +00:00
|
|
|
|
2023-04-01 18:21:20 +00:00
|
|
|
rustPlatform.buildRustPackage {
|
2022-08-08 12:47:53 +00:00
|
|
|
pname = "deploy-rs";
|
2024-08-25 03:25:36 +00:00
|
|
|
version = "0-unstable-2024-06-12";
|
2022-07-27 17:09:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serokell";
|
|
|
|
repo = "deploy-rs";
|
2024-08-25 03:25:36 +00:00
|
|
|
rev = "3867348fa92bc892eba5d9ddb2d7a97b9e127a8a";
|
|
|
|
hash = "sha256-FaGrf7qwZ99ehPJCAwgvNY5sLCqQ3GDiE/6uLhxxwSY=";
|
2022-07-27 17:09:12 +00:00
|
|
|
};
|
|
|
|
|
2024-08-25 03:25:36 +00:00
|
|
|
cargoHash = "sha256-lsW810bktMzHZIbuN3pz9N+IUcjNtE5J2AuB/G6pGWI=";
|
2022-07-27 17:09:12 +00:00
|
|
|
|
2022-12-04 21:46:56 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
2024-08-25 02:55:15 +00:00
|
|
|
darwin.apple_sdk.frameworks.CoreServices
|
|
|
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
2022-12-04 21:46:56 +00:00
|
|
|
];
|
2022-07-27 17:09:12 +00:00
|
|
|
|
2024-08-25 03:25:36 +00:00
|
|
|
meta = {
|
2022-12-04 21:46:56 +00:00
|
|
|
description = "Multi-profile Nix-flake deploy tool";
|
2022-07-27 17:09:12 +00:00
|
|
|
homepage = "https://github.com/serokell/deploy-rs";
|
2024-08-25 03:25:36 +00:00
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = with lib.maintainers; [ teutat3s ];
|
2023-08-22 18:51:38 +00:00
|
|
|
mainProgram = "deploy";
|
2022-07-27 17:09:12 +00:00
|
|
|
};
|
|
|
|
}
|