mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
laurel: 0.5.6 -> 0.6.0
https://github.com/threathunters-io/laurel/releases/tag/v0.6.0 diff: https://github.com/threathunters-io/laurel/compare/refs/tags/v0.5.6...v0.6.0
This commit is contained in:
parent
62176ef162
commit
1f4d82f1ac
@ -1,21 +1,33 @@
|
||||
{ acl
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, lib
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "laurel";
|
||||
version = "0.5.6";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "threathunters-io";
|
||||
repo = pname;
|
||||
repo = "laurel";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-IGmpNSHGlQGJn4cvcXXWbIOWqsXizzp1azfT41B4rm4=";
|
||||
hash = "sha256-lWVrp0ytomrQBSDuQCMFJpSuAuwjSYPwoE4yh/WO2ls=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-jm1AWybDnpc1E4SWieQcsVwn8mxkJ5damMsXqg54LI8=";
|
||||
cargoHash = "sha256-GY7vpst+Epsy/x/ths6pwtGQgM6Bx0KI+NsCMFCBujE=";
|
||||
|
||||
cargoPatches = [
|
||||
# Upstream forgot to bump the Cargo.lock before tagging the release.
|
||||
# This patch is the first commit immediately after the tag fixing this mistake.
|
||||
# Needs to be removed next release.
|
||||
(fetchpatch {
|
||||
name = "Cargo-lock-version-bump.patch";
|
||||
url = "https://github.com/threathunters-io/laurel/commit/f38393d1098e8f75394f83ad3da5c1160fb96652.patch";
|
||||
hash = "sha256-x+7p21X38KYqLclFtGnLO5nOHz819+XTaSPMvDbSo/I=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||
buildInputs = [ acl ];
|
||||
|
Loading…
Reference in New Issue
Block a user