mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
279ab74dda
* 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
25 lines
763 B
Nix
25 lines
763 B
Nix
{ 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 ];
|
|
};
|
|
}
|