Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 544 B view raw
1{ 2 mkKdeDerivation, 3 sources, 4 corrosion, 5 xapian, 6 rustPlatform, 7 cargo, 8 rustc, 9}: 10mkKdeDerivation rec { 11 pname = "akonadi-search"; 12 inherit (sources.${pname}) version; 13 14 cargoRoot = "agent/rs/htmlparser"; 15 16 cargoDeps = rustPlatform.fetchCargoVendor { 17 inherit pname version cargoRoot; 18 src = sources.${pname}; 19 hash = "sha256-hdm4LfQcs4TTfBLzlZYJ0uzqfLxMXuYQExLGJg81W2U="; 20 }; 21 22 extraNativeBuildInputs = [ 23 rustPlatform.cargoSetupHook 24 cargo 25 rustc 26 ]; 27 28 extraBuildInputs = [ 29 corrosion 30 xapian 31 ]; 32}