depot/third_party/nixpkgs/pkgs/tools/package-management/deploy-rs/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

33 lines
766 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, CoreServices
, SystemConfiguration
}:
rustPlatform.buildRustPackage {
pname = "deploy-rs";
version = "unstable-2023-05-05";
src = fetchFromGitHub {
owner = "serokell";
repo = "deploy-rs";
rev = "6b0b6a1c2527e8b1ef370a308b6ef8903004ac47";
hash = "sha256-UUxpb5PMkFfP2JGoPMEUvKbxv+wCkTWy4uZs1MyyCes=";
};
cargoHash = "sha256-6/VSfCNBstr+fQPdpMl5b2MwNxRjSJvTDuTGKySPGsk=";
buildInputs = lib.optionals stdenv.isDarwin [
CoreServices
SystemConfiguration
];
meta = with lib; {
description = "Multi-profile Nix-flake deploy tool";
homepage = "https://github.com/serokell/deploy-rs";
license = licenses.mpl20;
maintainers = with maintainers; [ teutat3s ];
};
}