faketty: init at 1.0.10

This commit is contained in:
figsoda 2022-09-28 21:17:41 -04:00
parent 077012da11
commit 225a3bcc62
2 changed files with 26 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -3891,6 +3891,8 @@ with pkgs;
facter = callPackage ../tools/system/facter { };
faketty = callPackage ../tools/misc/faketty { };
fasd = callPackage ../tools/misc/fasd { };
fastJson = callPackage ../development/libraries/fastjson { };