mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
743 B
Nix
26 lines
743 B
Nix
{ lib, rustPlatform, fetchCrate }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "faketty";
|
|
version = "1.0.17";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-JUvQg8WLk5+O+3fbbQSUW6Mtp9TrYlrt+uwMAzm082Q=";
|
|
};
|
|
|
|
cargoHash = "sha256-Y+jcq2twIGDbHTA6aBGnyN9Old993Y/2j/fKnXhZGYU=";
|
|
|
|
postPatch = ''
|
|
patchShebangs tests/test.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Wrapper to execute a command in a pty, even if redirecting the output";
|
|
homepage = "https://github.com/dtolnay/faketty";
|
|
changelog = "https://github.com/dtolnay/faketty/releases/tag/${version}";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "faketty";
|
|
};
|
|
}
|