Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 802 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "caligula"; 9 version = "0.4.8"; 10 11 src = fetchFromGitHub { 12 owner = "ifd3f"; 13 repo = "caligula"; 14 rev = "v${version}"; 15 hash = "sha256-VwbVDfiGiVFefsxoQ1FBDHyYLp0sOKnnVZctklyO+Tw="; 16 }; 17 18 cargoHash = "sha256-kTVmwfUNDibYGsHGQvtZiBiHyyotkHMhTY/dvaATy8k="; 19 20 nativeBuildInputs = [ 21 rustPlatform.bindgenHook 22 ]; 23 24 RUSTFLAGS = "--cfg tracing_unstable"; 25 26 meta = with lib; { 27 description = "User-friendly, lightweight TUI for disk imaging"; 28 homepage = "https://github.com/ifd3f/caligula/"; 29 license = licenses.gpl3Only; 30 maintainers = with maintainers; [ 31 ifd3f 32 sodiboo 33 ]; 34 platforms = platforms.linux ++ platforms.darwin; 35 mainProgram = "caligula"; 36 }; 37}