Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage { 8 pname = "voidmap"; 9 version = "1.1.5-unstable-2023-09-13"; 10 11 src = fetchFromGitHub { 12 owner = "void-rs"; 13 repo = "void"; 14 rev = "ab32290632fa9477a7e59b884bdfa69fb4b91906"; 15 hash = "sha256-+P83psu+BYzgC/I/Ul7vrbZ99KIybd410/ycsIY1pGI="; 16 }; 17 18 cargoHash = "sha256-H2KyqphEleEnWNfPdswns5QOLAlhO4UnmolnHcsV5FU="; 19 20 checkFlags = [ 21 # The test utilizes a redirect stdout to file with dup2 and breaks sandbox assumptions 22 "--skip=screen::qc_input_events_dont_crash_void" 23 ]; 24 25 meta = { 26 description = "Terminal-based personal organizer"; 27 homepage = "https://github.com/void-rs/void"; 28 license = lib.licenses.gpl3Only; 29 mainProgram = "void"; 30 maintainers = with lib.maintainers; [ poptart ]; 31 platforms = lib.platforms.linux; 32 }; 33}