2022-12-17 10:02:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, CoreServices
|
|
|
|
, SystemConfiguration
|
|
|
|
}:
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "deploy-rs";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "unstable-2022-11-18";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serokell";
|
|
|
|
repo = "deploy-rs";
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "2a3c5f70eee04a465aa534d8bd4fcc9bb3c4a8ce";
|
|
|
|
hash = "sha256-0w6iD3GSSQbIeSFVDzAAQZB+hDq670ZTms3d9XI+BtM=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
cargoHash = "sha256-Ki9/mYNLUq74v3u+e3aM139+06CTrvPLJv0O+qHL9dA=";
|
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
|
|
|
};
|
|
|
|
}
|