nixpkgs/pkgs/tools/package-management/deploy-rs/default.nix

25 lines
763 B
Nix
Raw Normal View History

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