cargo-binutils: format with nixpkgs-fmt
This commit is contained in:
parent
a4b05310c2
commit
c8156c2386
@ -5,13 +5,14 @@ rustPlatform.buildRustPackage rec {
|
||||
version = "0.3.3";
|
||||
|
||||
# Upstream doesn't commit `Cargo.lock`, see https://github.com/rust-embedded/cargo-binutils/pull/99
|
||||
src = let
|
||||
repo = fetchFromGitHub {
|
||||
owner = "rust-embedded";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Dgn+f4aSsDSh+RC8yvt3ydkdtwib5jEVsnZkod5c7Vo=";
|
||||
};
|
||||
src =
|
||||
let
|
||||
repo = fetchFromGitHub {
|
||||
owner = "rust-embedded";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Dgn+f4aSsDSh+RC8yvt3ydkdtwib5jEVsnZkod5c7Vo=";
|
||||
};
|
||||
in runCommand "source" { } ''
|
||||
cp -R ${repo} $out
|
||||
chmod -R +w $out
|
||||
|
Loading…
Reference in New Issue
Block a user