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:
parent
8f73de28e6
commit
279ab74dda
|
@ -12720,6 +12720,16 @@
|
||||||
githubId = 886074;
|
githubId = 886074;
|
||||||
name = "Matthieu Coudron";
|
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 = {
|
tex = {
|
||||||
email = "milan.svoboda@centrum.cz";
|
email = "milan.svoboda@centrum.cz";
|
||||||
github = "tex";
|
github = "tex";
|
||||||
|
|
24
pkgs/tools/package-management/deploy-rs/default.nix
Normal file
24
pkgs/tools/package-management/deploy-rs/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -34699,6 +34699,10 @@ with pkgs;
|
||||||
|
|
||||||
dell-530cdn = callPackage ../misc/drivers/dell-530cdn {};
|
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 { };
|
dockutil = callPackage ../os-specific/darwin/dockutil { };
|
||||||
|
|
||||||
eiciel = callPackage ../tools/filesystems/eiciel { };
|
eiciel = callPackage ../tools/filesystems/eiciel { };
|
||||||
|
|
Loading…
Reference in a new issue