Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 644 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "bore-cli"; 9 version = "0.6.0"; 10 11 src = fetchFromGitHub { 12 owner = "ekzhang"; 13 repo = "bore"; 14 rev = "v${version}"; 15 hash = "sha256-Jr6jZKsMhSpWVNpmhozI5DLONbwfIpcXwSlcbC9lLRM="; 16 }; 17 18 cargoHash = "sha256-CLnwzgDbHy6nTfVathycObArtEsF8tpMNoh19/uQqGA="; 19 20 # tests do not find grcov path correctly 21 meta = with lib; { 22 description = "Rust tool to create TCP tunnels"; 23 homepage = "https://github.com/ekzhang/bore"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ DieracDelta ]; 26 mainProgram = "bore"; 27 }; 28}