2022-12-17 10:02:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, CoreServices
|
|
|
|
, SystemConfiguration
|
|
|
|
}:
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
rustPlatform.buildRustPackage {
|
2022-08-12 12:06:08 +00:00
|
|
|
pname = "deploy-rs";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "unstable-2024-02-16";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serokell";
|
|
|
|
repo = "deploy-rs";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "0a0187794ac7f7a1e62cda3dabf8dc041f868790";
|
|
|
|
hash = "sha256-dTGGw2y8wvfjr+J9CjQbfdulOq72hUG17HXVNxpH1yE=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
cargoHash = "sha256-Vo/45cZM/sBAaoikhEwCvduhMQjurwSZwCjwrIQn7IA=";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
CoreServices
|
|
|
|
SystemConfiguration
|
|
|
|
];
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-12-17 10:02:37 +00:00
|
|
|
description = "Multi-profile Nix-flake deploy tool";
|
2022-08-12 12:06:08 +00:00
|
|
|
homepage = "https://github.com/serokell/deploy-rs";
|
|
|
|
license = licenses.mpl20;
|
2022-12-17 10:02:37 +00:00
|
|
|
maintainers = with maintainers; [ teutat3s ];
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = "deploy";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
}
|