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";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "unstable-2023-05-05";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serokell";
|
|
|
|
repo = "deploy-rs";
|
2023-05-24 13:37:59 +00:00
|
|
|
rev = "6b0b6a1c2527e8b1ef370a308b6ef8903004ac47";
|
|
|
|
hash = "sha256-UUxpb5PMkFfP2JGoPMEUvKbxv+wCkTWy4uZs1MyyCes=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
cargoHash = "sha256-6/VSfCNBstr+fQPdpMl5b2MwNxRjSJvTDuTGKySPGsk=";
|
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 ];
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
}
|