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:
commit
e122396eb1
|
@ -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";
|
||||
|
|
27
pkgs/by-name/te/termsnap/package.nix
Normal file
27
pkgs/by-name/te/termsnap/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue