Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 689 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromSourcehut, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "kitty-img"; 9 version = "1.1.0"; 10 11 src = fetchFromSourcehut { 12 owner = "~zethra"; 13 repo = "kitty-img"; 14 rev = version; 15 hash = "sha256-liqLocNIIOmkVWI8H9WU7T352sK7sceVtOX+R0BQ/uk="; 16 }; 17 18 cargoHash = "sha256-50M1TUGvjELARt/gvtyAPNL0hG1ekKwdefI9nMEsTo0="; 19 20 meta = { 21 description = "Print images inline in kitty"; 22 homepage = "https://git.sr.ht/~zethra/kitty-img"; 23 changelog = "https://git.sr.ht/~zethra/kitty-img/refs/${version}"; 24 license = with lib.licenses; [ mit ]; 25 maintainers = with lib.maintainers; [ gaykitty ]; 26 mainProgram = "kitty-img"; 27 }; 28}