nixpkgs/pkgs/by-name/de/deploy-rs/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
829 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
2022-12-05 00:46:56 +03:00
}:
rustPlatform.buildRustPackage {
pname = "deploy-rs";
version = "0-unstable-2024-06-12";
src = fetchFromGitHub {
owner = "serokell";
repo = "deploy-rs";
rev = "3867348fa92bc892eba5d9ddb2d7a97b9e127a8a";
hash = "sha256-FaGrf7qwZ99ehPJCAwgvNY5sLCqQ3GDiE/6uLhxxwSY=";
};
cargoHash = "sha256-lsW810bktMzHZIbuN3pz9N+IUcjNtE5J2AuB/G6pGWI=";
2022-12-05 00:46:56 +03:00
buildInputs = lib.optionals stdenv.isDarwin [
2024-08-25 05:55:15 +03:00
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.SystemConfiguration
2022-12-05 00:46:56 +03:00
];
meta = {
2022-12-05 00:46:56 +03:00
description = "Multi-profile Nix-flake deploy tool";
homepage = "https://github.com/serokell/deploy-rs";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ teutat3s ];
mainProgram = "deploy";
};
}