Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchCrate, 5 nix-update-script, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "functiontrace-server"; 10 version = "0.8.6"; 11 12 src = fetchCrate { 13 inherit pname version; 14 hash = "sha256-f/DpT5IYhUA/+w+QK3Itk4bBaYRFhGOWQbN51YYrmxA="; 15 }; 16 17 cargoHash = "sha256-rDCIzJUFA+2iEpITg3MuKFfgiyQ6GtMvIigiHkX70M8="; 18 19 passthru.updateScript = nix-update-script { }; 20 21 meta = with lib; { 22 description = "Server for FunctionTrace, a graphical Python profiler"; 23 homepage = "https://functiontrace.com"; 24 license = with licenses; [ prosperity30 ]; 25 maintainers = with maintainers; [ tehmatt ]; 26 }; 27}