Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

licensor: Fix test in 2020

(cherry picked from commit c8299d69b03c470f80931bab77f16ce8f1889db3)

authored by

Christian Lütke-Stetzkamp and committed by
Jörg Thalheim
dbacfa17 c5db275f

+6 -1
+6 -1
pkgs/tools/misc/licensor/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 1 + { lib, rustPlatform, fetchFromGitHub, fetchpatch }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "licensor"; ··· 10 10 rev = "v${version}"; 11 11 sha256 = "0zr8hcq7crmhrdhwcclc0nap68wvg5kqn5l93ha0vn9xgjy8z11p"; 12 12 }; 13 + 14 + patches = [ (fetchpatch { 15 + url = "https://github.com/raftario/licensor/commit/77ae1ea6d9b6de999ee7590d9dbd3c8465d70bb6.patch"; 16 + sha256 = "0kfyg06wa2v7swm7hs9kkazjg34mircd4nm4qmljyzjh2yh8icg3"; 17 + })]; 13 18 14 19 cargoSha256 = "042dplm0cdxkv73m5qlkc61h0x9fpzxn2b0c8gjx2hwvigcia139"; 15 20