Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "morsel"; 5 version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "SamLee514"; 9 repo = "morsel"; 10 rev = "v${version}"; 11 sha256 = "sha256-m4bCni/9rMTPhZSogpd5+ARrW11TPHSvQpdz3wUr9H4="; 12 }; 13 14 cargoSha256 = "sha256-2xR2/013ocDKWS1oWitpAbSDPRwEJJqFcCIm6ZQpCoc="; 15 16 meta = with lib; { 17 description = "Command line tool to translate morse code input to text in real time"; 18 homepage = "https://github.com/SamLee514/morsel"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ siraben ]; 21 }; 22}