@@ -1,18 +1,27 @@
1−{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, rustPlatform
5+, Security
6+}:
27
38rustPlatform.buildRustPackage rec {
49 pname = "routinator";
5− version = "0.10.0";
10+ version = "0.10.1";
611
712 src = fetchFromGitHub {
813 owner = "NLnetLabs";
914 repo = pname;
1015 rev = "v${version}";
11− sha256 = "171zmqqkgdpbspn70sgsypnyw7m6q2x8izwxrzbyi5xslsgd24i4";
16+ sha256 = "sha256-ThgTGtTZ0LGm9nHJoy0KhnBFWNvKRjk7hoNTVVTeL/Y=";
1217 };
1318
19+ cargoPatches = [
20+ ./Cargo.toml.patch
21+ ];
22+ cargoSha256 = "sha256-mcx+qUtTUxeYP0PeJp1eOQwsdS6PPUx/m7TfAyqFiIM=";
23+
1424 buildInputs = lib.optionals stdenv.isDarwin [ Security ];
15− cargoSha256 = "0r1m1zv3mkmmaalln3ny6m33dyjqzdyfbmkcav05kz12xjdd94fs";
1625
1726 meta = with lib; {
1827 description = "An RPKI Validator written in Rust";