Merge pull request #193440 from figsoda/faketty

faketty: init at 1.0.10
This commit is contained in:
Fabian Affolter
2022-09-29 09:35:21 +02:00
committed by GitHub
2 changed files with 26 additions and 0 deletions
+24
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 ];
};
}
+2
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 { };