3
0
Fork 0
forked from mirrors/nixpkgs

deploy-rs: init 2022-05-26 (#182950)

* deploy-rs: init 2022-05-26

* Add myself to list of maintainers

* deploy-rs: fix build on darwin

OfBorg errors were:
       >    Compiling deploy-rs v0.1.0 (/private/tmp/nix-build-deploy-rs-unstable-2022-05-26.drv-0/source)
       >   = note: ld: framework not found SystemConfiguration
       >           clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
       > error: could not compile `deploy-rs` due to previous error
       ...
       >    Compiling deploy-rs v0.1.0 (/private/tmp/nix-build-deploy-rs-unstable-2022-05-26.drv-0/source)
       >   = note: ld: framework not found CoreServices
       >           clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
       > error: could not compile `deploy-rs` due to previous error

Inspiration: 22eb13d3ed
This commit is contained in:
teutates 2022-07-27 19:09:12 +02:00 committed by GitHub
parent 8f73de28e6
commit 279ab74dda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -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";

View file

@ -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 ];
};
}

View file

@ -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 { };