mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #157158 from 06kellyjac/cargo-deny
This commit is contained in:
commit
a3b5398878
@ -11,19 +11,19 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-deny";
|
pname = "cargo-deny";
|
||||||
version = "0.11.0";
|
version = "0.11.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EmbarkStudios";
|
owner = "EmbarkStudios";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-LYXwdOopQkgq7i4l8dqQFkNLB3r+CVRor4BVeoj0DPs=";
|
sha256 = "sha256-LsRky7hc7mgx1iRpJZICmP/ofdfD9r3D5LURTqfI9Fo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# enable pkg-config feature of zstd
|
# enable pkg-config feature of zstd
|
||||||
cargoPatches = [ ./zstd-pkg-config.patch ];
|
cargoPatches = [ ./zstd-pkg-config.patch ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-SdbDWw4GOvCTKN7vBjhLU5rhdVIpyO+AWaFbo06HXfU=";
|
cargoSha256 = "sha256-7WGNaad00MqEM/OdUaLJ3McXlUQyQwPezbMbL+4se5A=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
@ -40,6 +40,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
homepage = "https://github.com/EmbarkStudios/cargo-deny";
|
homepage = "https://github.com/EmbarkStudios/cargo-deny";
|
||||||
changelog = "https://github.com/EmbarkStudios/cargo-deny/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/EmbarkStudios/cargo-deny/blob/${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
maintainers = with maintainers; [ figsoda matthiasbeyer jk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user