nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 27 lines 615 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "bonk"; 9 version = "0.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "elliot40404"; 13 repo = "bonk"; 14 rev = "v${version}"; 15 hash = "sha256-sAMIteNkGRqmE7BQD/TNC01K3eQQTLKuc0jcxHxtKF8="; 16 }; 17 18 cargoHash = "sha256-tUq+7vTVA27iQLGLXa+WJT3BARKc/Hl+D961IAvoGxw="; 19 20 meta = { 21 description = "Blazingly fast touch alternative written in Rust"; 22 homepage = "https://github.com/elliot40404/bonk"; 23 license = lib.licenses.mit; 24 mainProgram = "bonk"; 25 maintainers = with lib.maintainers; [ dit7ya ]; 26 }; 27}