forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / te / termsnap / package.nix
blobdf4dfd3020f48e1abaeb73788cef0e44ded295d5
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "termsnap";
9   version = "0.4.0";
11   src = fetchFromGitHub {
12     owner = "tomcur";
13     repo = "termsnap";
14     rev = "termsnap-v${version}";
15     hash = "sha256-bYqhrMmgkEAiA1eiDbIOwH/PktwtIfxmYJRwDrFsNIc=";
16   };
18   cargoHash = "sha256-Q1FTVaFZzJJNQg6FDOaPpRCpPgw2EPQsnb8o6dSoVWw=";
20   meta = with lib; {
21     description = "Create SVGs from terminal output";
22     homepage = "https://github.com/tomcur/termsnap";
23     license = licenses.mit;
24     maintainers = with maintainers; [ yash-garg ];
25     mainProgram = "termsnap";
26   };