2022-12-04 21:46:56 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, CoreServices
|
|
|
|
, SystemConfiguration
|
|
|
|
}:
|
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";
|
2023-06-11 00:33:53 +00:00
|
|
|
version = "unstable-2023-06-04";
|
2022-07-27 17:09:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serokell";
|
|
|
|
repo = "deploy-rs";
|
2023-06-11 00:33:53 +00:00
|
|
|
rev = "65211db63ba1199f09b4c9f27e5eba5ec50d76ac";
|
|
|
|
hash = "sha256-1FldJ059so0X/rScdbIiOlQbjjSNCCTdj2cUr5pHU4A=";
|
2022-07-27 17:09:12 +00:00
|
|
|
};
|
|
|
|
|
2023-06-11 00:33:53 +00:00
|
|
|
cargoHash = "sha256-iUYtLH01YGxsDQbSnQrs4jw2eJxsOn2v3HOIfhsZbdQ=";
|
2022-07-27 17:09:12 +00:00
|
|
|
|
2022-12-04 21:46:56 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
CoreServices
|
|
|
|
SystemConfiguration
|
|
|
|
];
|
2022-07-27 17:09:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
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";
|
|
|
|
license = licenses.mpl20;
|
2022-12-04 21:46:56 +00:00
|
|
|
maintainers = with maintainers; [ teutat3s ];
|
2023-08-22 18:51:38 +00:00
|
|
|
mainProgram = "deploy";
|
2022-07-27 17:09:12 +00:00
|
|
|
};
|
|
|
|
}
|