mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
38d18d4caa
2a3c5f7..8c9ea96
Among other changes, adds a `--boot` flag for activating deployed
profiles on next boot.
34 lines
766 B
Nix
34 lines
766 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, CoreServices
|
|
, SystemConfiguration
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "deploy-rs";
|
|
version = "unstable-2023-01-19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "serokell";
|
|
repo = "deploy-rs";
|
|
rev = "8c9ea9605eed20528bf60fae35a2b613b901fd77";
|
|
hash = "sha256-QO1xF7stu5ZMDLbHN30LFolMAwY6TVlzYvQoUs1RD68=";
|
|
};
|
|
|
|
cargoHash = "sha256-UKiG2Muw3cT17TCl0pZQGfzVdN5tajSZ1ULyGRaZ9tQ=";
|
|
|
|
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 ];
|
|
};
|
|
}
|