1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #327997 from Yash-Garg/yg/termsnap

termsnap: init at 0.3.0
This commit is contained in:
Peder Bergebakken Sundt 2024-07-21 20:24:06 +02:00 committed by GitHub
commit e122396eb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 0 deletions

View file

@ -22202,6 +22202,12 @@
githubId = 3705333;
name = "Dmitry V.";
};
yash-garg = {
email = "me@yashgarg.dev";
github = "yash-garg";
githubId = 33605526;
name = "Yash Garg";
};
yavko = {
name = "Yavor Kolev";
email = "yavornkolev@gmail.com";

View file

@ -0,0 +1,27 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "termsnap";
version = "0.3.0";
src = fetchFromGitHub {
owner = "tomcur";
repo = "termsnap";
rev = "termsnap-v${version}";
sha256 = "sha256-FTgbbiDlHXGjkv3a2TAxjAqdClWkuteyUrtjQ8fMSIs=";
};
cargoSha256 = "sha256-hXlRkqcMHFEAnm883Q8sR8gcEbSNMutoJQsMW2M5wOY=";
meta = with lib; {
description = "Create SVGs from terminal output";
homepage = "https://github.com/tomcur/termsnap";
license = licenses.mit;
maintainers = with maintainers; [ yash-garg ];
mainProgram = "termsnap";
};
}