twitch-tui: adopt, move to by-name, modernize
The current maintainer no longer wishes to maintain the package. See the discussion in #398440. This also moves the package to pkgs/by-name.
This commit is contained in:
+11
-21
@@ -1,23 +1,19 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
CoreServices,
|
||||
Security,
|
||||
SystemConfiguration,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "twitch-tui";
|
||||
version = "2.6.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Xithrius";
|
||||
repo = pname;
|
||||
tag = "v${version}";
|
||||
repo = "twitch-tui";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-hA66YcxbQem9ymOu3tGA4biKUCoJ2jKnUSK+9+0P2Eg=";
|
||||
};
|
||||
|
||||
@@ -28,22 +24,16 @@ rustPlatform.buildRustPackage rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
openssl
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
CoreServices
|
||||
Security
|
||||
SystemConfiguration
|
||||
];
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Twitch chat in the terminal";
|
||||
homepage = "https://github.com/Xithrius/twitch-tui";
|
||||
changelog = "https://github.com/Xithrius/twitch-tui/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.taha ];
|
||||
changelog = "https://github.com/Xithrius/twitch-tui/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.lordmzte ];
|
||||
mainProgram = "twt";
|
||||
};
|
||||
}
|
||||
})
|
||||
@@ -2924,10 +2924,6 @@ with pkgs;
|
||||
|
||||
persistent-evdev = python3Packages.callPackage ../servers/persistent-evdev { };
|
||||
|
||||
twitch-tui = callPackage ../applications/networking/instant-messengers/twitch-tui {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Security CoreServices SystemConfiguration;
|
||||
};
|
||||
|
||||
inherit (import ../development/libraries/libsbsms pkgs)
|
||||
libsbsms
|
||||
libsbsms_2_0_2
|
||||
|
||||
Reference in New Issue
Block a user