Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6rustPlatform.buildRustPackage rec { 7 pname = "moxide"; 8 version = "0.3.0"; 9 10 cargoHash = "sha256-j4yV86Hr6QZTZ/0Dy9y+2egxGqf1Z930Zg6dsKs5bxg="; 11 src = fetchFromGitHub { 12 owner = "dlurak"; 13 repo = "moxide"; 14 tag = "v${version}"; 15 hash = "sha256-BTg1z3pU9mGnexlXBdJ5ZqJeykpzGmhCbEKtvVxGEKo="; 16 }; 17 18 meta = { 19 description = "Tmux session manager with a modular configuration"; 20 mainProgram = "moxide"; 21 homepage = "https://github.com/dlurak/moxide"; 22 license = lib.licenses.gpl3Only; 23 maintainers = with lib.maintainers; [ dlurak ]; 24 }; 25}