diff options
author | figsoda <figsoda@pm.me> | 2022-09-28 21:17:41 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-09-28 21:17:41 -0400 |
commit | 225a3bcc62449193e93b49de81fd0dcf1265ab59 (patch) | |
tree | 17a8d24c6fc7811488a5325c6e22c2d84e7ea162 /pkgs/tools/misc/faketty | |
parent | 077012da1149b7189e17bd8d68e8186d8d2d6a7b (diff) |
faketty: init at 1.0.10
Diffstat (limited to 'pkgs/tools/misc/faketty')
-rw-r--r-- | pkgs/tools/misc/faketty/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/faketty/default.nix b/pkgs/tools/misc/faketty/default.nix new file mode 100644 index 0000000000000..288286aa9b309 --- /dev/null +++ b/pkgs/tools/misc/faketty/default.nix @@ -0,0 +1,24 @@ +{ lib, rustPlatform, fetchCrate }: + +rustPlatform.buildRustPackage rec { + pname = "faketty"; + version = "1.0.10"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-Jljq22xbXakwKdf5TXBXzuKuKJOBjf6lzCy8aHrVC3U="; + }; + + cargoSha256 = "sha256-K0hNnqw178b7noHW76DMR0BoYhkrQpPQeHaH6Azt3Xo="; + + postPatch = '' + patchShebangs tests/test.sh + ''; + + meta = with lib; { + description = "A wrapper to execute a command in a pty, even if redirecting the output"; + homepage = "https://github.com/dtolnay/faketty"; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = with maintainers; [ figsoda ]; + }; +} |