Merge master into staging-next
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bacon";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Canop";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0wyx216q9q7y60bnnw4cbpv9zlbnjm2hwq0llkjw60fp3qalj9am";
|
||||
};
|
||||
|
||||
cargoSha256 = "1pii5ajl3xgylrm20pkwbd1lk7gv0pshl1cxjfna0l63q56v7f21";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Background rust code checker";
|
||||
homepage = "https://github.com/Canop/bacon";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = [ maintainers.FlorianFranzen ];
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
@@ -16,6 +16,8 @@ buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0c0f86x17fzav5q76z3ha3g00rbgyz2lm5a5v28ggy0jmg9xgsv6";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate Rust register maps (`struct`s) from SVD files";
|
||||
homepage = "https://github.com/rust-embedded/svd2rust";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ rustPlatform, fetchFromGitHub, pkg-config, openssl, lib }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config
|
||||
, openssl, libiconv, CoreServices, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "trunk";
|
||||
@@ -12,7 +13,9 @@ rustPlatform.buildRustPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = if stdenv.isDarwin
|
||||
then [ libiconv CoreServices Security ]
|
||||
else [ openssl ];
|
||||
|
||||
cargoSha256 = "sha256-0ehz0ETNA2gOvTJUu8uq5H+bv4VXOJMq6AA8kn65m/Q=";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user