2022-07-27 20:09:12 +03:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, CoreServices, SystemConfiguration }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2022-08-08 15:47:53 +03:00
|
|
|
pname = "deploy-rs";
|
2022-12-04 19:01:30 +03:00
|
|
|
version = "unstable-2022-11-18";
|
2022-07-27 20:09:12 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serokell";
|
|
|
|
repo = "deploy-rs";
|
2022-12-04 19:01:30 +03:00
|
|
|
rev = "2a3c5f70eee04a465aa534d8bd4fcc9bb3c4a8ce";
|
|
|
|
sha256 = "sha256-0w6iD3GSSQbIeSFVDzAAQZB+hDq670ZTms3d9XI+BtM=";
|
2022-07-27 20:09:12 +03:00
|
|
|
};
|
|
|
|
|
2022-12-04 19:01:30 +03:00
|
|
|
cargoHash = "sha256-Ki9/mYNLUq74v3u+e3aM139+06CTrvPLJv0O+qHL9dA=";
|
2022-07-27 20:09:12 +03:00
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices SystemConfiguration ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = " A simple multi-profile Nix-flake deploy tool. ";
|
|
|
|
homepage = "https://github.com/serokell/deploy-rs";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.teutat3s ];
|
|
|
|
};
|
|
|
|
}
|