diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 78366a8fc6c4..455939cc5d23 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12720,6 +12720,16 @@ githubId = 886074; name = "Matthieu Coudron"; }; + teutat3s = { + email = "teutates@mailbox.org"; + matrix = "@teutat3s:pub.solar"; + github = "teutat3s"; + githubId = 10206665; + name = "teutat3s"; + keys = [{ + fingerprint = "81A1 1C61 F413 8C84 9139 A4FA 18DA E600 A6BB E705"; + }]; + }; tex = { email = "milan.svoboda@centrum.cz"; github = "tex"; diff --git a/pkgs/tools/package-management/deploy-rs/default.nix b/pkgs/tools/package-management/deploy-rs/default.nix new file mode 100644 index 000000000000..d763b370603d --- /dev/null +++ b/pkgs/tools/package-management/deploy-rs/default.nix @@ -0,0 +1,24 @@ +{ stdenv, lib, fetchFromGitHub, rustPlatform, CoreServices, SystemConfiguration }: + +rustPlatform.buildRustPackage rec { + pname = "deploy-rs-unstable"; + version = "2022-05-26"; + + src = fetchFromGitHub { + owner = "serokell"; + repo = "deploy-rs"; + rev = "184349d8149436748986d1bdba087e4149e9c160"; + sha256 = "sha256-kJ0ENmnQJ4qL2FeYKZba9kvv1KmIuB3NVpBwMeI7AJQ="; + }; + + cargoHash = "sha256-Ocb1kwNDfODGceCaCJ16CTGGTxIQacgHQ3I6HIR/EUo="; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6b19b4d67c60..1d38af901ba3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34699,6 +34699,10 @@ with pkgs; dell-530cdn = callPackage ../misc/drivers/dell-530cdn {}; + deploy-rs = callPackage ../tools/package-management/deploy-rs { + inherit (darwin.apple_sdk.frameworks) CoreServices SystemConfiguration; + }; + dockutil = callPackage ../os-specific/darwin/dockutil { }; eiciel = callPackage ../tools/filesystems/eiciel { };